@# Quotes DB     useful, funny, interesting





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



Comments:

<0> makes things easier, because ive got a page with like 20 questions on, with the submit at the bottom, its annoying for the user to keep scrolling up if they dont fill in the answers
<1> yeah
<1> you can also use document.formName.elementName.focus()
<0> ahh kewl, brb 1 sec, need to reboot rooter
<2> hello
<3> Hello.
<1> hi



<2> who can help me with some javascript<->css?
<3> Just state your problem.
<2> i use the property document.[form].[textbox].style.color to change the color but how can i change the background-color (css) ?
<1> style.backgroundColor
<3> Eh...
<3> What ever kind of referencing is that? HEh.
<2> sorry
<2> :)
<2> thank you furtive
<1> replace the - with the next letter in Cap to switch from css to js when it comes to style: so font-family befomes fontFamily
<3> Rule of thumb... what furtive said
<1> so, um, yeah, new channel site, new wiki, same old content, new links to wiki pages though. http://javascript-channel.com and http://javascript-channel.com/wiki ... this isn't a test.
<1> P.S. Theme is ugly as hell.
<2> :|
<4> var foo = new foo();
<1> you can't do that
<1> or you don't want to
<2> :))
<4> boq dunno
<5> is there a way to find out how many KB i received through an AJAX call?
<5> so i make a progress bar
<1> octopus: ajax file uploader with progress bar: http://encodable.com/filechucker/
<5> furtive i know that one
<5> i need the other way around
<5> i get data from server and progressbar for received data



<1> use it to figure out how to do it
<5> maybe i could just get the lenght of the responseText, and that would be the size in bytes. right?!
<1> i dunno
<6> optocus: it suppose to be the same , as long as you can know how much data is sent from the server
<5> yeah i should know that
<7> Hey everyone
<7> I'm having some trouble with setTimeout and wondering if someone can help me. Basically I have a function that has a variable p***ed into it and then at the end I want to use setTimeout to run the same function with the variable, but it doesn't seem to work
<8> paste the code on a pastebin site
<7> Actually I can just type it.. I've tried different variations. eg: setTimeout('loadData(date);', 5000);
<7> if I replace date with a string instead of a variable name it works
<8> you need to p*** the variable in there, or its value on the moment of calling setTimeout?
<7> well the setTimeout is what makes loadData run after 5 seconds, and when loadData runs it needs to have that date
<8> right. so what exactly is failing for you? the date that p***ed to the function is incorrect?
<7> I'm not sure.. See if I do this: var date = "2006-07-08"; then setTimeout('alert(date);', 5000); it doesn't work
<7> BUT
<7> if I do setTimeout('alert("2006-07-08");', 5000); it works
<8> works for me in IE, just tested it
<7> Hmm, Firefoxism?
<6> you can't do "loadDate(date)"
<7> No?
<6> date lost it's scope in there
<6> "loadData('"+date+"');"
<7> OHHH
<7> you da man :)
<7> okay one more slight problem :P
<7> Because date = "2006-07-08", it's taking 2006, subtracting 7 then subtracting 8
<6> read my line carefully
<7> Oh I think I see now
<7> Works now. Thanks so much :)


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#MissKitten
schitzo jokes
#AllNiteCafe
#php
#mirc
minix amazon baum
currencysource experience
#java
#AllNiteCafe
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes