@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2



Comments:

<0> Hey guys
<1> heyoooo1
<0> whats the command to check what an indivudal command in a string is?
<1> you mean eval() .... if you're using eval() there's a 99.999999% change you're doing something wrong.
<0> no
<0> ill explain what im trying to do
<0> i want to go through a string using a for loop and check each character to see if it matches certain requirements
<0> like thisChar() or something. thats not it
<0> but i cant remember what it is
<1> charAt()
<0> aaa there we go
<0> thanks man
<2> !brb
<3> ht311 got a min
<4> yup
<5> can you do me a favout



<5> favour
<5> http://www.aflax.org/examples/sockets/sockets.html
<5> see if you can locally get that working
<5> (ignore the PL you should be able to connect to there server)
<5> im ****ed if i can get it to work
<5> i got the file upload one working
<4> getting
<5> k
<5> did you get it working ?
<4> which example you want me to run? i just dump it in to my local iis
<5> sockets
<5> (its a chat script)
<5> but its a none polling pesistant connection you see
<4> it is crosssite, that why it didn;t work
<4> hmm, it should have prompt for that ....
<4> i am sure is the cross site issue
<1> hehe, this is fun
<4> seem good, had that idea for a while when i work on flash. get the webcam stuff in flash open to html . seem they already did that too
<4> heh, just click on the link without looking at the time
<1> fool
<4> just stop the game and watch greys
<5> try now
<5> :D
<5> hahaha
<5> ht311 try it now
<5> ht311 sorry try again
<5> hehehehe
<4> ad. time agina
<4> that is the worst part watching live tv
<4> geeze, 8 min and ad. time again, never timed it
<7> good eve!
<1> howdy
<7> my question: I would like to update a global variable at the same time as Im sending it to a function?! This is what I got, I want to update the countChecks:
<7> onClick=\"return checkImg(" + countCells + "," + countChecks + ")\"
<5> onClick=\"countCells++;return checkImg(" + countCells + "," + countChecks + ")\"
<5> hmm should be in the return really hehe
<7> ? :-)
<4> what is those super stupid " + ... + " doing three?
<4> everything can be done inside checkImg
<5> http://www.neofuture.co.uk/sockets2/
<5> ignore that
<4> I smell document.write
<5> lol
<7> yeah, document.write
<5> or eval
<4> stinky document.write
<7> is it possible to update i global variable inside a function?
<7> ... a global variable
<4> it is possible to update it everywhere
<1> even from the fortress of solitude
<7> thats what Im trying to do really, how do I write to do that?
<4> ask furtive, I am not in mood to see document.write :)
<5> ht311 have a look at chat
<5> hahahaha
<5> http://www.neofuture.co.uk/sockets2/
<4> mills: NeoFuture show your the code already
<7> function checkImg(cellNumber, countNumber) { document.write(countNumber); }
<7> that still writes "0",,



<1> what do you want to do?
<7> hello!
<1> increment in the function? document.write(countNumber++);
<7> Im calling the function like this:
<7> onClick=\"countChecks++;return checkImg(" + countCells + "," + countChecks + ")\"
<1> ugh, i hate escaped code
<7> and would like to update the global variable "countChecks" for everytime I click,
<1> show the full line
<4> pb.html-channel.com
<5> no more maquee for you ht mawayayayaya
<4> not here
<1> boooo
<4> doh, it is a selling feature
<7> document.write("<td><a href=\"javascript:\" onClick=\"countChecks++;return checkImg(" + countCells + "," + countChecks + ")\"><img src=\"0.png\"></td>");
<4> your chat just become ****s now
<1> mills: 1. get rid of the javascript: and replace it with #
<7> ok, Ill do :)
<1> 2. oh **** it. who the hell modifies variables in inline code
<1> seriously
<1> call a damn function and have the work done in there
<4> do it before document write
<1> does he want the increment while doing .write or only onclick?
<7> onclick
<4> HE IS NOT EVEN KNOW WHAT HE IS ASKING
<7> Ive said all along that I want it to increase everytime I click,
<4> he complaint about seeing 0 inside the function
<1> then what ht311 said
<1> document.write("<td><a href=\"javascript:\" onClick=\"countChecks++;return checkImg(" + countCells + "," + countChecks++ + ")\"><img src=\"0.png\"></td>");
<4> whatever, you need to learn more about javascript before doing this
<1> YEAH
<1> err yeah
<1> stupid thinkpad keyboard
<4> either case is fine
<4> got the ms elite kb and mouse combo
<1> document.write() is teh gay
<7> yeap, I guess, but its my first day on it, and Ive loads of **** to do, so sorry.. but thanks
<4> with free quicktax
<1> ht311: too much clutter on livingroom floor
<4> you still laying on the floor to type?
<1> yep
<4> mills: where you learn the document.write? (I hope it is not from school ....)
<7> beginning javascript : second edition
<4> burn that book for me pls
<4> http://www.javascript-channel.com/Wiki.jsp?page=Links
<4> you really need to know a bit of dom as well, just don't use document.write and eval
<4> I love the comment on that link --> Mozilla CSS extensions (NOTE: it's only wrong when Microsoft invents proprietary crap)
<4> who add that?
<1> Torgo
<4> hehe, just feel right about that
<1> hehe, it's true
<4> nite
<8> hi
<8> can I store js objects in cookies ?
<4> read about json
<4> you can deserialize a js object to json string and store it there
<8> ok
<8> thanks
<8> i am aware about json, just wanna make sure I can store lookup info client side
<7> last question before Im finished :)
<7> whats wrong with this function (calling from another function): return setTimeout("swapImg(imgPick1, imgPick2)",3000);
<7> sorry.. my mistake
<7> or no,, does that work?
<9> hey if I do document.getElementById('id').innerHTML = 'blahlahb'; will that work? :)
<10> salutations matinales / morning greetings
<11> anyone knows a script that similar to this and can work instad of "<li>" tag in <td> tags (table) ? http://www.cyberdummy.co.uk/test/dd.php
<9> hey how can I get the number of items in an array
<10> yourArray.length
<9> thanks
<4> you are early too.
<1> ;-)
<1> always off to a good start on monday, then it varies throughout the week
<11> anyone knows a script for Drag & Drop Sortable Lists that saves the positions on mysql db and uses php? ...


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #javascript
or
Go to some related logs:

petuxlar
jaq saq
berettaextreme2
#chatzone
chatear en chatzone
irssi unsplit
Deitel+solution manual+C how to program
noop lion
iironnick
#windows



Home  |  disclaimer  |  contact  |  submit quotes