@# Quotes DB     useful, funny, interesting





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



Comments:

<0> well, even the space where the user inputs his answer doesn't clear out
<1> why will user reload the page?
<2> alert(items[i].nodeValue);
<2> this?
<0> ht311, to get a new set of questions.
<2> that alert(items[i].nodeValue); return me null
<2> ..
<1> that will be a silly design,isn't that the php suppose to output a new set of question
<1> kajskdasj, try .text, and .textContent in FF



<0> ht311, yes, the php would output a new set of questions. But that doesn't eliminate the problem.
<0> Suppose I put an <input type="reset"> on the page.... How can I get javascript to press that button for me with window.onload ?
<1> I don't believe the form will retain the value if you post to the php as it to make a new set of question
<1> kajskdasj: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/461c0798-1bb6-4d0d-8b9f-c84481eb8530.asp
<0> actually, I just figured out a solution..... window.onload = clearinputs() after I've defined the <form>
<1> Rex_Goodhear http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/form.asp
<1> you can call form.reset()
<0> ah
<0> thanks
<3> How do I POST an entire form via ajax?
<1> loop the form, collect the value, encode them if needed, pack them in a query string, and send in the request (not the url)
<1> that is the way I do, I ***ume there is a smarter way somewhere
<4> Hi all
<3> but isn't the query limited to 1024 characters including hte url?
<4> I need some help with what is probably a very basic problem
<1> sukotto: "request (not the url)"
<1> there is a send method and you send data after the connection opened
<4> how do I reference a variable in an address ie. document.formname.*child*.style.display="none"; where I want "child" to be a variable I've just declared with var
<1> document.formname.elements["fieldname"].style.display="none"
<4> thanks ht311, I'll try that out now
<4> how would that format work for document.getElementById("[+child+]a").style.display="block"; ?
<1> document.getElementById("elementId").style.display="block"
<3> ht311 : so var req = <make new XMLHttpRequest>; ... req.open(url); req.semd("myInput=foo;myCheckbox=selected;myText=hello%20world"); ?
<3> something like that?
<4> the problem I'm having is, I'm dynamically creating the element ID, so child isn't the element ID, it's a var. document.getElementById("*child*a").style.display="block";
<4> where *child* is the variable
<1> what is in the var?
<1> sukotto, yes, something like that
<4> http://javascript-channel.com/wiki/show/Channel+Rules is showing "503 Service Temporarily Unavailable", in case it's of interest to anyone in here.
<4> the var will say either Child1. Child2, Child3, or Child4.
<1> so it is a string? and getElementbyId expecting a string as parameter
<1> sukotto: foo=blah&bar=blah



<4> var child contains the string Child1, but it wont accept getElementById(child) or getElementById("child")
<4> the element id will then be either Child1, Child1a, Child1b etc
<4> so I have to build it inside the"address" or whatever the correct term would be
<1> if getElementById return null, it means it didn't find any element go by that id you p*** in
<1> check your code
<1> of course, the element have to be in the dom tree already
<3> thank you ht311.
<1> sukotto: http://www.captain.at/howto-ajax-form-post-request.php
<3> thanks :-)
<4> cheers, I'll go back and have a look through, but getElemeen
<4> cheers, I'll go back and have a look through, but getElementById(var) should defiinitely p*** through the right id name and accept it?
<5> is their a paste event in js ?
<1> no, handle both keyboard and mouse event that perform the paste operation
<4> cheers ht311, it was an id problem, my fault, I'm quite embarr***ed I missed that! Thank you.
<5> ok thank you
<5> ht311 : and what about when the text of an input change, even by a paste ?
<5> onchange dont work with paste
<1> wyst, that's why I ask you to handle the keyboard and mouse events
<6> who banned me
<7> don't know :)
<7> not the first is it?
<7> how is that possible to ban a 499???
<8> itS' possible for a 75 to ban a 499
<8> but tyhe 499 will always be able to remove the ban
<7> yeah but that's stupid
<7> an op should never be able to ban someone above him
<8> well have you ever seen a ban ?
<8> that was NeoFuture's ban ----> NeoFuture!*@*
<8> how is X supposed to know it's NeoFuture
<7> of course i've seen a ban
<7> got your point
<8> when you ban someone it has nothing, at all, to do with its username
<8> a 75 couldn't suspend a 499's access though
<7> ok but
<7> yeah allright
<7> makes sense
<9> Hi can I get debugging help here?
<7> Xenctuary, yep


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

SEXDATA
ep536 suse
convert 162 cm inches
#ubuntu
#windows
#slice
you caught in if a haboob blows up
#chatzone
#linux
amphirol



Home  |  disclaimer  |  contact  |  submit quotes