@# Quotes DB     useful, funny, interesting





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



Comments:

<0> Hi, does a Form Object have a toString method? (i mean, that I gat something like name_of_el1=value&name_el2=value etc?) Or do I have to write it myself?
<1> you have to write it yourself
<0> to bad...
<1> or loop through the document.forms["formName"].elements array
<2> or use DomAPI List object ;)
<0> jep, I am doing that... But does every element have a name (most likely), and (I'm not shure...) a Value?
<0> I mean elements like radio boxes etc, can I acces the selected element with .value?
<1> every form element has a value, and every form element should have aname.
<3> yes, unless you didn't put in one
<0> ah ok
<0> than it is not that hard :)
<1> it's not that hard to validate either
<1> but you'll also have to check to see if the object returned by elements is an array itself (e.g. multiple elements with the same name)
<1> so i'm going to be off work until at least the 13th of feb.
<1> doctor saw his shadow.
<2> eh?



<1> had another checkup for my back
<3> hehe, a canadian thing
<2> yee-och
<1> heh, i'm feeling a lot better, even sat down for a few hours yesterday, although i think that did more harm than good.
<2> bringing back bad memories
<1> hehe, just think of how much better you are today
<1> did you write code back then, or were you a football star?
<2> yeah, but i'm not
<1> :-(
<2> yeah, back surgery ****s
<1> well, my spine is fine, so that's not too bad.
<2> hell, just 10 years before I had mine done they were still requiring full spinal taps
<2> i got easy ;)
<1> ouch
<2> but these go to eleven :P
<1> i'll just get them to amputate the leg that's in pain. The robocop type thump as i walk with my new bionic leg is gonna be awesome.
<2> yeah to get the xray, they'd strap you to a board, turn you vertical and upside down, and then drain all your spinal fluid
<1> wah?
<2> yup
<1> did they drill holes in your skull too?
<2> spinal tap ain't just the name of the worlds greatest rock band
<1> that's crazy. glad that's in the past.
<1> hehe, and no laptop to keep you happy back then either eh?
<2> it is, unless you piss your doctor off
<2> bring gifts
<1> heh
<3> geeze, sound like i am watching horror movie, i am lucky then, i just have my fat belly problem ...
<2> yeah, i also put on a *lot* of weight during that whole thing
<1> i'm losing weight, 10lbs so far.
<1> fun: http://game1.ssr.be/
<1> it's worth it just to see level 4
<3> hmm, and i can cheat by using my tablet pen .. got to the lvl4 in no time
<2> what's the link for js ref that is in vouge right now?
<1> heh, msdn?
<2> i get nothing but 404s
<2> they changed all the links in their search results
<3> furtive: http://www.moserbrothers.com/archives/000197.html
<2> screw it, i'll just install msdn locally
<3> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/29f83a2c-48c5-49e2-9ae0-7371d2cda2ff.asp
<1> ht311 ;-)
<1> back in an hour
<2> yeah, but i mostly use the msdn search
<2> which is now useless
<3> usually, i use google and get to the direct page
<2> man, htas rock hard
<2> combined with domapi that is
<3> I used it for crossite to grab data from different pages ;)
<2> i'm using to write complete client apps now
<3> it is like xul, may be you should make a hta example then.
<3> later, going home.
<4> ok, another stupidly simple question which i cannot seem to find the answer for on google, because i am an idiot and not searching for the proper string
<4> how can i change a <div>'s style with JS?
<2> document.getElementById("id").style.whatever....
<5> PapaBear document.getElementById().style....
<4> gah
<5> you can even do document.getElementById().style.cl***Name = "anotheCl***";
<5> :)
<4> i actualy want to set the style
<2> wrong
<5> oups!
<4> writing a template, with the styles sitting in a database



<6> while(sickOfWaiting){document.getElementById("missues").forceLabour();}
<4> so i would have to do document.getElementById).style.blah for each attribute i want to change?
<2> i'd just define cl***es -- much more efficient
<4> ah, but that would be alot of cl***es, be nice if could set the entire div's style in one call
<2> yes, via a cl***
<4> can i set the background to an image using document.blahh.style ?
<7> The background of an image?
<4> nah, background of a div
<4> to an image
<7> A background image in other words.
<7> document.getElementById("id").style.backgroundImage='url(path/to.img)';
<6> and im mistaken (i aont slept for 52 hours)
<6> onclick="spawnWindow('1','2',\"Test\");"
<6> should work
<6> or am i being a spaz
<6> ht311 about ?
<3> ?
<6> question for you
<6> how can i check if an frame has a child frame
<6> window.frames[i+'frame'].frames['dataFrame']
<6> if(window.frames[i+'frame'].frames['dataFrame']){}
<6> the check is giving me an object error
<3> try frames.length?
<3> hmm
<8> guys, can you help me?
<6> ignore me i left a bad variable in
<3> :)
<3> MixedLive, just ask your question
<8> i'm getting this error message
<6> dont ask to ask ask before we ask you to leave for asking to ask to ask is to ask not to ask to ask
<8> Exception in thread "main" java.util.zip.ZipException: The system cannot find the file specified
<6> wrong channel
<6> #java
<8> =(
<8> thanks
<6> this is a completly differnt lanaguage
<8> i'm a rookie as you can see
<6> tho HT will know the answer
<3> yes "The system cannot find the file specified"
<8> and that means...?
<8> i have already set the path
<3> don't know about your system. jsut complaint it can't find the file, simple
<8> well.... thanks anyways guys
<9> hello.. anyone here?
<3> no
<9> jeez sorry i thought there was someone :p
<9> anyway if anybody comes along, cud u please ask him this? my friend was wondering which would be more efficient:
<9> <a href="#" onClick="myFunction()"> or <a href="javascript:myFunction()">
<3> frist, should put return false; after myFunction();
<9> huh?
<3> <a href="#" onClick="myFunction();return false">blah</a>
<3> use onclick instead, should start getting use to all xhtml attribute is lowercase
<9> hrmm ok
<9> why is that more efficient than <a href:"javascript:myfunction()">
<3> javascript: is deprecated
<9> ohhh
<9> thanx a lot
<3> np
<10> erm
<10> whats in place now? onclick?
<3> onclick have been there since ie4
<11> hm
<12> salutations matinales / morning greetings
<13> is it possible to capture the contents of another web page in a variable and then process it as i need ?
<13> i would need to know this so i know which approach to use
<12> see XmlHttpRequest
<13> L`OcuS: it doesn't seem to work for external pages, outside my domain
<13> should i use something else or keep digging on xmlhttprequest ?
<13> i need $string = get_include_contents('http://www.google.com'); translated from php to js
<12> you can still use it
<12> be make a little hack$
<13> :\ any tips ?
<12> with XmlHttpRequest, call a page on your own server which calls the page on an other server
<13> all i could find was how to retrieve from your own domain


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linuxhelp
#linux
#java
capecodm49
gentoo touch function not implemented
#AllNiteCafe
#javascript
#teens
#linux
#linux



Home  |  disclaimer  |  contact  |  submit quotes