@# Quotes DB     useful, funny, interesting





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



Comments:

<0> (until i can rewrite it)
<0> if i have 2 divs with the same ID, how can i getElementById(id) to change both elemenets
<0> so chaneg both innerHTML`s
<1> Two divs with the same ID is invalid.



<0> lazy *** programmer i sacked her 2 months ago tho lol
<1> Use name instead then.
<0> i know its invalie but im hacking this together for a demo tommorrow and need to rewrite the PHP to render the dhtml
<2> is getElementById giving an array in this case>
<3> guys, if I have a button with no onclick handler , will I receive the onclick event in whatever the parent element of the button is ?
<2> yes
<4> bye tlm
<5> im doing document.cookie="fontSize=" + v;
<5> should it keep concatening to the previous cookie value?
<6> i'm having a hard time getting this dynamic input box to work correctly
<7> if I have division of 2 numbers how do I only return the a value with only 2 decimal places?
<2> toFixed
<6> http://www.prmiller.info/upload.html
<6> look at what it does if you select other for the client
<7> thanx
<5> how to delete a cookie?
<2> PRMiller, don't use document.write
<2> possibly: set an empty to that
<6> what should i use instead?
<5> .innerHTML or appendChild
<6> document.innerHTML?



<2> document.getElementById("mycontainer").innerHTML += blah;
<5> erm no....an element
<6> uhh, alright, i'm a real js noob here, but my container would be what?
<5> its the id of your element
<5> like <div id="mycontainer">....
<6> ahhh
<6> ok
<6> will that stick it inside of the flow of that container or put it at the top?
<5> inside
<5> hence inner
<5> now, can anyone tell me how to delete a damn cookie? :P
<6> lol, wish i could
<6> it stuck it at the bottom of my document...
<6> can i go further and put it inside of a table cell?
<5> yes just give the id to the cell
<5> <td id="mycontainer">
<6> k
<2> [16:44] <2> possibly: set an empty to that
<6> i dont know what you mean by that
<5> document.cookie="fontSize="; doesnt work
<5> it still concatenates values when i re-add them
<2> http://techpatterns.com/downloads/javascript_cookies.php
<5> tq


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linux
#linux
#linuxhelp
#AllNiteCafe
trankie needs
#java
#c++
sugem pula
#linux
#javascript



Home  |  disclaimer  |  contact  |  submit quotes