« first day (1022 days earlier)      last day (3931 days later) » 

12:00 AM
I'm not a JS expert and this is the first time I want to do ajax with jquery. I followed stackoverflow.com/questions/5004233/jquery-ajax-post-example but it doesn't work. Given that it that 247 thumbs ups, I have done something wrong. Can someone help me here please. pastebin.com/Y6ydzzG5
 
have you included the jQuery library?
ignore that ^ just saw your snippet
@MohammadMoghimi have you got any errors in console.log
 
no error
when i click on the submit button the address bar changes to ...test.html?bar=xxx
I know that the submit function is not called
please
 
user1125394
12:47 AM
 
user1596138
1:27 AM
:)
 
user1596138
@Zirak Wait KDE still comes with Konqueror? One of the many, mane reasons the KDE project never took off.
 
user1125394
1:41 AM
it's not as if it was impossible to install chrome..ium
 
2:26 AM
@BenLind Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@CapricaSix , please check out my question at stackoverflow.com/questions/18028510/…
2
@Jhawinsss lol
 
user1596138
Lol good one.
 
@Jhawinsss Command he's does not exist.
 
2:54 AM
see my comment, then look at his css :P
 
@rlemon Wowwwww
 
yea well, as is the internet
 
whatta loser
 
3:15 AM
@Loktar @mike Playing payday 2 :) twitch.tv/no63datsik
 
4:01 AM
@adeneo nice. I forgot about the jquery promises' natural debouncing ability.
I mean, you like downvoting, right?
http://stackoverflow.com/questions/18028863/connect-two-cells-from-different-tables
 
4:27 AM
4
Q: How to feed a site summary to the Google Bot?

SmurfetteI noticed that for my site summary the Google Bot seemed to be putting up the first batch of text it found. This happened to be the noscript tag that told the user to turn JavaScript on , if it was not enabled. I thought I would thwart it, by putting a hidden div before that, that actually cont...

 
@Mr_Green nice family
 
4:40 AM
http://stackoverflow.com/questions/18029201/getting-javascript-variable-into-php-without-using-post (dupe)
 
@JanDvorak I didn't get you..
 
@Mr_Green see the asker's and answerer's avatars
 
haha yeah
 
@jandersen Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
4:56 AM
@SomeKittens "by whomever", by the way
 
@JanDvorak That was painful to read.
 
sorry, pain was not my intention
 
user1596138
Kind of annoying how someone asking for books to start learning PHP can get a job, but I still can't... — Jhawinsss 54 secs ago
 
I'm trying!
 
user1596138
Lmao just trolling this guy.
 
5:04 AM
I feel like he's Mayhem from the insurance commercials: "I've never written a line of code before...and I'm your new coworker. Is your codebase ready for Mayhem?"
3
 
user1596138
Hahahahaha
 
user1596138
Starred.
 
bows Thank you.
 
5:16 AM
@PeterWAWood Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
6:11 AM
0
Q: performance of javascript across iframe boundary

user1872451JavaScript codes in the main html document can access codes and data in its iframes an vice versa, if not blocked by the browser. However, what about the performance? Are there performance penalties across iframe boundary? I make a simple test and find that it depends on browsers: chrome 28: c...

 
6:23 AM
0
Q: Fancybox type popup window that's not an iframe

user2081869I'm a bit stuck and need some help to get me going in the right direction. I'm trying to do something similar to the lightbox style popup on this website: http://cargocollective.com/montessori I want to build a popup window, with the scrollbars off to the side at the normal location (which, to...

 
6:44 AM
0
Q: Is there a way to block editing html-css contents in a page using furbug like tools?

Manu MathewIs there a way to block editing html-css contents in a page using furbug like tools? I found that some users are editing some values in hidden fields and some contents which written between a div or span tag for gaining some profits. They are doing mostly by editing with help of tools like fire...

 
7:01 AM
Hi
 
NEVER! THE BANANAS SHALL PREVAIL!
er, I mean hi.
 
I need dome help for simulating a CSS3 feature for older browsers (IE 6-8)
hey @JanDvorak
plz check this:
and this
 
@MRS1367 umm... emulate CSS3... in... IE^?
 
it's a simple example
I want to use box-flex feature
it works correctly for box1, box2 and box3
and for nested divs of the box1 div
 
7:06 AM
umm... no. That doesn't look like the kind of thing IE6 would be able to do - except maybe with javascript
 
the problem is for nested divs of two other boxes
it works
I used this
and it works in the simple examples
 
$(window).on("resize",function(){/*lots of computation - good luck*/})
 
but in my example for nested divs, it has some problems
 
I don't know flexie, sorry
but I know what I think about IE6
 
tnx for trying to help me @JanDvorak
 
7:09 AM
this is what I think about IE6..8
 
I agree with u
but I have to do it, cuz my manager wants it from me.
 
I'd implement my own reflow logic hand-tweaked for the specific situation
 
I simulate all features that have used in CSS3 design except this one.
 
it's not too hard. Forget about nested elements. There are two 2-px columns and three columns with equal width
 
with PIE, flexie, selectivizr and etc.
yes
have u any solution?
box1 and box2 and box3 have equal width, it works correctly by flexie.
 
7:15 AM
$(window).on("resize")
  $("#box1 #box11, #box2 #box11, #box3").width(($("#horizontal").width()-4)/3)
)
let the rest flow
if you're really nice, you'll only do that when native flexbox is not available.
 
it's a good idea
 
oh, and...
don't use duplicate IDs!
 
it's a sample
tnx for advice
 
they're non-compliant and break a lot of expectations
$("#something") will only ever select at most one element.
 
tnx for advice.
 
7:18 AM
hey guys i had a question about git... is this workflow correct? git-scm.com/figures/18333fig0106-tn.png
i thought you push not commit to the remote repository
why does it say that you commit to the remote repo?
 
It says you commit to a repo, in this case the local one
that diagram doesn't cover remotes.
 
Some people whine so much
0
Q: Award 15 rep for answer manually (like a donation)

D.R.I've asked a question and got two very nice answers, both within a very short period of time, both excellent, both would have deserved the +15rep for "accepted answer". I decided to mark the earlier post as "accepted answer", although there have been maybe 10 seconds between them. I upvoted both...

 
0
Q: collision map understanding issue

SoraI recently step on a javascript library that is used to develop a simple super mario classic game but i saw a variable called collision map and i couldn't understand it can anyone describe what a collision map is and how it is used to detect the collision of every object in the game ? var colli...

 
7:44 AM
@Lwyrn Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
7:58 AM
@rlemon, I tried to align like you said, nothing changed, maybe it's because it's fixed to the top?
@rlemon never mind, i sorted it
 
@Zirak after experiencing how the whatwg mailing list handled your suggestion I decided to unsubscribe.
 
8:11 AM
0
Q: Other option to trigger javascript function

abiieezI have the following javascript function which works nicely on a single html file. jQuery.noConflict(); jQuery(function() { $('#focus-init').click(function() { $('#map1').vectorMap('set', 'focus', 1, 0, 0); }); }); The issue appears when I try to integrate the above function in...

 
8:24 AM
@dievardump about cloudfront, how good is cloudfront dealing with cookies ? and pages rendered depending on them.
 
@OctavianDamiean Bickering over technicality, followed by vague performance issues which avoid the actual problem, followed by ignoring it?
I've looked at some other threads...it's a weird place
oh, thanks for the bounty
 
9:36 AM
 
0
Q: How to execute a piece of JavaScript code using Chrome developer tools

Vegetarian VultureI use Google Chrome and its developer tools like 'Inspect element' to check performance of my web pages. I know that its Developer tool 'Console' can be used to execute JavaScript. I was just saving my one interested web page on my Delicious web account and I noticed that all that information it...

 
@BhuvneshGupta Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
Hello all, I want to know solution for one question.One person asked it and I am facing the same problem.Please help me. This is the url of question stackoverflow.com/questions/18029939/…
@CapricaSix thankyou for welcome me
 
10:16 AM
Is it okay to post a jQuery query here? The concerned room is empty
 
anything goes
(unless it's derogatory or NSFW)
we'll likely send you out if you come with PHP or Java, however
 
I'm trying to change type="hidden" to type = "text" with the following code

$('table tbody tr td').click( function(){
$(this).find('input:hidden').attr('type', 'text');
});

But that isn't changing the type, it remains as hidden
lol
 
why that selector? tr is always inside tr is always inside tbody is always inside table
try with .prop
 
.prop doesn't work too
 
Attribute = what's written in HTML = the initial value. Property = the actual value = what takes effect
 
10:21 AM
I know the function is executing as I've one more line above it which is working
 
does the cell exist when you're attaching the event handler?
 
I think the :hidden pseudoselector refers to display : hidden. You want to select by attribute: input[type=hidden] or something like that.
 
Got to go now, sorry
 
no problem @JanDvorak Hope someone else will see it
 
Maybe me? Hence the message above?
 
10:23 AM
@Zirak I think it grabs more than just display:none. Not sure about [type=hidden], however. Good to try.
 
@Zirak If I put "$(this).find('input:hidden')" in firebug it is returning an object
 
@asprin what's its length? Empty jQuery object is still an object
 
hang on..i'll create a fiddle
 
@asprin ...which contains?
 
opps
typo in the fiddle
forgot the "
strange, the fiddle works
 
could it be because I'm using live('click', function in my original code?
those <td>'s are generated dynamically on button click
 
Don't use live, it's deprecated for a while. Google it for a bit for how to migrate, I don't know a lot about jquery's api.
 
live is deprecated post v1.8. I'm using 1.62. Also the live is working since I've one more live above the current code which works. I'm removing a span from inside the <td> that was clicked and that works
This is the full code:

$('table#chosen tbody tr td.showtb').live('click', function(){
$(this).find('span').remove(); // this works, the span is getting removed on click
$(this).find('input[type="hidden"]').prop('type', 'text');

});
Ok..just saw the console in Firebug..got this message:
uncaught exception: type property can't be changed
And if I use .prop(), I get this error in firebug console:
TypeError: $(...).find(...).prop is not a function
 
Weird how using outdated versions gives errors.
Stop using an outdated version, and it'll be a bit easier.
 
10:45 AM
k..will try using the latest one
Chnaged to latest version, modified .live() as per docs and now it works
thanks for your time @Zirak
 
@Zirak __proto__ what sorcery it does ?
 
11:07 AM
@darkyen it's a semi-proprietary writeabe alias for getPrototypeOf
 
decoded audio for 1 second in 16 ms .. is that bad speed ?
 
not bad
 
down to 4 now :->
i love Cplusplus -o2 // nitro boost
 
@Darkyen Is your google broken?
 
@Zirak yeap.
dns failure x_x cant reach neither google / nor gmail nor anything
stackoverflow works spottily.
 
user1125394
11:27 AM
 
user1125394
their data update system is good bl.ocks.org/mbostock/3808221
 
11:39 AM
recently i found firebug and i was wondering what they use to send data from client to server in realtime without ajax. Are they using websockets?
sry it is firebase*
not firebug :|
 
12:14 PM
@Dh... Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@CapricaSix thanks for welcome :)
 
@YashPatel Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
12:39 PM
hi @JanDvorak
 
user1125394
!!color lightgreen
 
user1125394
hmm no lightred
 
i need an idea or more , of a scenario. the thing is that i want to get a list of url's which are not porn. i try to say same thing in changed words like I want to know if the given url is the url of porn site or not , my googling skill needs to improve yet , thanks
 
@user2607152 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
12:47 PM
- "... url's which are not porn"

That's impossible, all links on the interwebs eventually end in porn ?
 
I'd say, keep a whitelist
 
Hey @CapricaSix may know how can you setup this welcome message for each new users?
 
most wikipedia pages are not porn
 
what made me confused at first , was how to differ from porn and medical words
 
@jjpd I'll give you an URL and you tell me if it's porn, OK?
 
12:50 PM
@CapricaSix i am waiting for your answer.
 
it depends on contents
 
@Dh... You might have to wait a very long time
!!tell Dh... help
 
@jjpd tell me: is this porn? youtube.com/watch?v=WUpi-CIMGi0
 
@CapricaSix I have just open the link but as i am the newbie i dont know how to cofigure for room that i have created
 
12:53 PM
NO. that's my question how do i differentiate porn and not-porn sites, or how do google differentiates between them while searching.
 
(psst, @Dh..., a secret: @CapricaSix is a bot)
Running the bot is easy, just take a look at the readme
 
@jjpd I'd guess Google uses a blacklist driven by reports or a bayesian filter
@jjpd you could try a bayesian filter based on the words in the page static content. Good luck training that.
 
ok, thanks
 
and an explicit word black list... but that makes "blue tits" and [the game of] "craps" deemed porn
 
Hi guys!
 
12:57 PM
@Zirak but i need to add in my room that i have created so where i have to execute that command?
 
Hi...... dear godness my router
@OctavianDamiean average my friend
 
@Dh... It's all in the readme and spending 5 minutes on playing with it. And since the welcome messages are wired to this room, you're also going to need to change stuff in source/plugins/welcome.js
 
@Zirak can you unwire them?
 
I need a bit help i am looking for some javascript which automatically check new window open or not like people have to click on something when they will click new will open and when new window willl open i want my website to redirect user to different link any help or tutorial
 
@MalikUsman ... what?
 
1:02 PM
well i need something which will note the new widow is open or not
 
@Zirak my question is that where i have to install all these stuff?
 
if open then page refresh if not then ask them to click on link and when click new widow will open
 
@MalikUsman umm... refreshing anytime you fail to open a popup is a bad idea
most browsers ask the user first
doubt you can hook to the moment when the user dismisses this dialog
 
well its not popup it will be new window!
target="_blank"
My script needs to confirm that users open new window or not!
 
you can trust the target
also, you don't know in advance whether the next mouse click will use the middle mouse button
 
1:09 PM
hmm..ok but it will be ads lol when they click on ads new window will open!
 
umm... you can detect if a link was clicked but you can't ever prove it won't go to a new window
 
Oh means its not possible
well using cookies or something ;)
 
(without sniffing the user agent, reading the keyboard status and mouse buttons, making assumptions about the GUI and the installed userscripts...)
 
well i am not very pro so i dont think i really get you lol
 
Hello any one can help me to setup wecome message for new user when enter in room.
 
1:14 PM
hahaha
 
:-)
 
@rlemon Hahaha
 
@rlemon i can't read the text written inside the image.
 
isn't that a shame
 
lol
 
1:15 PM
@Dh... try clicking the image
 
^ [ you ninja @JanDvorak ]
 
@JanDvorak thanks; LOLS :D
 
Lolssssssssssss
 
makes a confused face
 
mmmmmm coffee
 
1:20 PM
Can any one fill this blank F_ _K???
 
FOLK
FORK
FINK
I fink you won't get the answer you want
 
FUNK
 
@Amaan fuck ?
i mean hes so desperate to get a fuck :->
 
@Darkyen Thanks for not ruining dumb jokes!
 
1:21 PM
aww comon let him have a joke :->
 
somthing like FU@K
 
@JIM Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
JIM
Thanks my friend. Does anyone here know the phantomJs ???
 
@CapricaSix how can you know new user has come?
 
JIM
0
Q: How i load many urls from a text file in phantomJS?

JIMHow i load & evaluate... many urls from a text file in phantomJS ? var page = require('webpage').create(); var fs = require('fs'); var system = require('system'); page.settings.javascriptEnabled = true; page.settings.XSSAuditingEnabled = true; page.settings.localToRemoteUrlAccessEnabled = true;...

Thanks
 
1:24 PM
@Dh... cause she is a bot
 
@Darkyen how can you know she is bot?
 
@Darkyen @Amaan @mikedidthis @Loktar twitch.tv/no63datsik/c/2684555?t=46m39s NEVER take me with you on a bank heist, omg I laughed so hard, my friend didn't find it too funny
 
@Dh... well lets see i have followed its development process a lil bit
and its made by the almighty @Zirak
 
@Datsik Haha, I'll watch that in a bit
 
@Dh... 1) I created her account, 2) everything Darkyen said, 3) github.com/Zirak/SO-ChatBot/tree/master/source there is the source
!!are you a bot
 
1:26 PM
@rlemon Yes, absolutely
 
4) ^
 
@BaljeetSingh Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@rlemon can you guide me step by step how to set up boat for my room that i have just created in stackoverflow.
 
1) fill room with water
2) ensure you have a water worthy craft.. .I suggest http://www.fishingcancunmexico.com/images/boat-ChutzpahToo.jpg
3) lower boat into the room (make sure you do this carefully!)
4) you now haz a boat!
 
but you no longer have a room
 
1:30 PM

Quick Coder

This is the place where you can get the answer of your questio...
 
@rlemon lolz
 
look at that repository a bit more - i'm not answering this question. once you see it you will understand the mocking
 
I created the gist gist.github.com/sandhus/6146453, it is to fetch the json records one by one (with next and previous button). I am wondering how to show the specific records based on the search. Help needed?
 
@rlemon already i have seen that repo. but i am get stucked that whare i have to run all that scripts?
 
@rlemon um... that's a fishing boat. You need fish.
 
1:34 PM
@JanDvorak If you fill it... fish will come
 
ah, abiogenesis, the foundation of evolutionism.
 
user1125394
damn I'm wanting a dunamic svg middle offset value (not just 50%) to correspond to 0 yAxis jsfiddle.net/SuPvC/5
 
user1125394
but maybe that's the bad approach
 
user1125394
the white fill should match the 0 yAxis
 
@Dh... I can see how that can be confusing, the "Run bookmarklet.js in your browser to get it up an' running." part must be horribly ambiguous, especially when you have to guess the where, because as a chat related script, it must mean it has to run anywhere but in the chatroom you want it to appear in.
 
1:46 PM
@Zirak sorry to disturbing you for this silly stuff but i can't get it anything can you guide me step by step please.
 
No
 
Okay np. :)
 
Anyone suggesting a jQuery answer can count on a downvote from me. This is a simple question that does not require thousands of line of external code to solve. — Benjamin Gruenbaum 59 secs ago
@Dh... stop that.
 
1:55 PM
Got my notebook back. Now I have to get rid of Windows 8 again.
 
user1125394
toward what os?
 
please let it be Win7
 
I don't see Bronichiwa
Or my little brony
 
Brother is also missing there.
 
2:00 PM
o_O
 
Brothel
 
@OctavianDamiean Ubuntu ?
 
@user2635745 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
hello
 
Hello
 
2:14 PM
@Dh... what's that lanugage?
 
O_o
 
@xaisoft Hello
 
i dont think that language come from the earth
aha
 
@YashPatel , @Dh... ENGLISH FOR GOD'S SAKE
 
god's*
 
2:16 PM
do you think a acer w 510 is good for visual studio and eclipse ?
 
Which version of english are you refering to
 
user1125394
so anyone ever wondered how to have a variable css gradient middle offset [0%:green, 37%:white, 100%: blue], that can change if you dataset changes, [0%:green, 55%:white, 100%: blue]
 
english is broken up. I don't even understand some of it
 
is acer w510 good for eclipse ?
 
user1125394
or css and dynamic are not friends maybe?
 
2:17 PM
7 messages moved to Trash can
@cx the attr
only works for the first rendering :P
 
@user2635745 this language is already there before the invention of earth
 
user1125394
yes that's the prob
 
thats very intelligent actually
 
user1125394
I will have to forget my idea
 
cause for everything you have element.style.prop
 
2:18 PM
i think about buing a acer w510 for about 400e
 
but i would like to have attr because there is no way to do element['before'].style
 
user1125394
yep @Darkyen actually using the console I seem to be able to modify the lineargradient element
 
posted on August 03, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} A great big thankyou to everyone who helped make GaymerX happen. Ple

 
@cx console tingles the style
or i should say style text
@JanDvorak imgur.com/z5sVwsA
finally :-> [ the decoding method is synchronous for now ]
 
!!Crysis 3 or Half-Life 2
 
2:30 PM
@Zirak Crysis 3
 
user1125394
!!> [2,1].max()
 
@cx "TypeError: [2, 1].max is not a function"
 
@Loktar Care to offer a 2nd opinion?
 
@cx Math.max.apply(Math,yourArray)
!!> Math.max.apply(null,[1,2,3,4,5,3])
 
@BenjaminGruenbaum 5
 
user1125394
2:32 PM
@BenjaminGruenbaum yep seen it thx (stackoverflow.com/questions/1669190/…)
 
user1125394
 
user1125394
2:47 PM
I'm really impressed how d3 graph don't lag even when keeping all values, the same thing with highcharts was lagging/freezing the page
 

« first day (1022 days earlier)      last day (3931 days later) »