| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> Dorward: I just tried with percentages and it is working perfectly thanks :) <1> who knows here selenium? <2> the element ? <1> no selenuim IDE <1> it is for functional test <3> hello all <4> hello <1> I need some plugin for Firefox that can measure the request/response time <3> i'm sending information via a POST XHR, but the POST data is not received by the server, what could the problem be? (I did print_r($_POST) on the server side (php) .. and I get an empty array... <3> could it be because the POST data is a *very* large text? <3> anyone? <3> :( <5> I know this is WAY offtopic, but it's funny http://trhosking.com/iraq.wmv <6> has anyone used sweet-titles <6> im trying to do a very simple modification but cant find out how <3> what is sweet titles?
<6> http://www.dustindiaz.com/sweet-titles <6> i just want to do a simple change but dont know how to <3> ask the author :) <7> how can I get truncated division (not floating point, but integer division)? <8> erm <5> Math.floor( x / y ); ? <8> or parseInt? <5> ....or parseInt( x / y ) <7> thanks, I'll try that <3> i'm sending information via a POST XHR, but the POST data is not received by the server, what could the problem be? (I did print_r($_POST) on the server side (php) .. and I get an empty array... I know that the POST data is pretty large.. any ideas? <5> Math.floor() should be more efficient <8> jasz: you have to send a certain header <8> I think it's um <5> Won't parseInt doa string conversion first? <8> form/url-encoded <8> or something like that <3> bewest .. how do i set hm <3> erm.. i'll check on that <8> Content-Type of application/x-www-form-urlencoded. <3> trying... <8> xmlhttp.open(bla,bla,bla) <8> xmlhttp.setRequestHeader( <8> 'Content-Type', <8> 'application/x-www-form-urlencoded; charset=UTF-8' <8> ); <8> doh <8> sorry <9> is there a synhronize like keyword for javascript? <9> IE executes my code wierdly. <10> syncronization? <9> yep, grr, my problem was about around method messing thing up. <11> evening (night)! <11> is there any limitation of the length of the incoming string parameter of function eval() ? <12> don't use eval <12> MiHaMiX: no. <11> whenever I try to eval() a loooooooooong string I always get such errors which shows me that it truncates the string at 255 chars <11> fatbrain: alert(jscode.length) => 13324 <11> fatbrain: eval(jscode) => error msg only shows first 255 char <11> fatbrain: tell me a way to circumvent the use of eval(). I'm waiting for a complex data array in respond to an ajax request, which I'm supposed to supply as param for an existing and already defined function. <8> MiHaMiX: I don't believe there is any such limit <11> fatbrain: I used this: eval('var x = ....code of data structure.....; return existing_function(x); <8> MiHaMiX: make sure your newlines don't screw you up <8> MiHaMiX: use firebug to spy on your ajax request <11> bewest: generated content doesn't contain newline <11> bewest: firebug tells me that the js code I've sent back is just fine. <8> generated content is coming from where? <8> a database? <11> bewest: from a PHP script, which uses postgresql as a data storage backend. <8> and what's in the content? <8> user input? <11> bewest: no, db records, coded like this: <11> bewest: [ id : 28, ip : "160.114.156.146", start : "2006-07-04 16:35:13.947624", stop : "2006-07-04 16:41:29.569235" ], ... <8> ok <8> and when you inspect in firebug the code looks ok? <8> is there an extra comma at the end? <11> bewest: yes, but I'm going to reinspect now :) <8> no \r\n's <13> "MiHaMiX" at 66.180.175.30 pasted "generated JS code itself in unescape()-d format" (1 line) at http://erxz.com/pb/1884 <11> bewest: take a look at it, see above link <11> bewest: imo it doesn't contain either \r or \n
<11> bewest: any idea? <8> MiHaMiX: shouldn't it be x = [ {..}, {..}, {..} ]; ???? <11> oo.. truly, you're right... :/ <8> it's an array of objects :-) <11> bewest: i shouldn't have written the code this late :-( <11> bewest: it works :) thanks :) <11> good night, and thanks for all :-)) <14> burritos are delicious <8> frb-work: agreed with bacon <14> I feel much better now, 2 burritos later <15> kobeyashi is laughing at you <16> it is advised not to use ***ociative arrays, but what if you have a growing array of things that are identified by a unique string ? <17> why is it advised not to use an ***ociative array (or techincially, just an object) <17> I use them all the time. <18> bewest :) <8> Daveman: :-) <16> http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array#Description <18> :D <19> wow i think i wrote a closure ! lol <19> i was using a global previously <19> but i have a problem teh value is never being set to true <8> stelt: that doesn't say "don't use ***ociative arrays" <8> stelt: it says know that an "***ociative array" is actually an object <13> "chino" at 66.180.175.30 pasted "updating_games is allways == false.... even if multiple updates are hapening..." (33 lines) at http://erxz.com/pb/1886 <16> bewest, ok thanks, i'll just give my code another try then <18> bewest, you getting rained on? :P <8> no <8> no rain here <8> Daveman: I moved to San Francisco <20> why tmp.join("&"); isn't changed ? <20> alert(tmp); shows aaa,bbb,ccc <20> should do toString() ? <17> alert(tmp.join("&")); <19> am i not properly using the closure ? <19> it did the same behavior even wehn i used a global <18> BEWEST :OOOOOOOOOOOOOOOOOOOOOOOO <18> bewest, come visit!? <18> omg :P <18> hahahaha <18> bewest, stop following me! <18> ;p <20> kicken thanks somehow it worked :) <17> methods generally don't modify the object they are called on <17> they return something new. <19> ooo i think i know what i have to do <17> exceptions being on some array methods, like .push and .pop and such <21> bloody annoying really <17> tmp.join("&") creates and returns a string. It does not in any way actually modify the tmp variable. <18> hey Woosta :) <21> myString.replace returns the modified string rather than modifying myString <21> But MORE annoying is that strings are immutable, so you can't even WRITE a String.prototype.replaceInPlace <18> actually... <17> I guess it could be useful to be able to, but I've never really found it annoying. <8> Daveman: did you move to SF too? <8> Daveman: WTF.... hehehehe <22> hey all.. anyone who could give me a hint on what this is called? Maybe got a solution? I'd want to calculate how many hours and minutes a value is.. like '7530' seconds.. what command shall I use or what combination of calculation and so? <13> "chino" at 66.180.175.30 pasted "check_running() == false // always!" (37 lines) at http://erxz.com/pb/1887 <21> toffie: 2 secs and I'll give you my formatter URL <17> toffie, integer division and moduls operator <18> bewest :D <8> Daveman: are you serious? <8> Daveman: when did you move? <8> Daveman: I moved in April <21> toffie: http://rick.measham.id.au/paste/format_duration.js <18> bewest, you busy this evening? :P <22> kicken.. the module operator.. which is that?? is it the % ?? <18> rick: ooh, neat :) <18> modulus? <17> toffie, yes <22> haven't been programming this kind of stuff before
Return to
#javascript or Go to some related
logs:
#linux #lisp #php undefined symbol: zend_ini_string amavis defer retry time not reached for any host #centos #perl #css xbindkeys FontSet connecting to quakenet with gaim
|
|