@# Quotes DB     useful, funny, interesting





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



Comments:

<0> its twice longer
<0> and why the [0]
<0> first element ?
<1> coz getElementsByTagName returns an array
<1> yes
<0> array of ...
<1> array of all body elements of course
<1> but there's only ever one, so we use [0]
<1> btw, how do detect if my browser supports addRule method?
<0> it still doesnt work
<0> page is white
<0> where do i put selectedindex to put the option as default
<1> i write the syntax wrong
<1> ocument.getElementsByTagName("body")[0].style.backgroundColor = "pink"
<1> i wrote By as by
<1> and i dunno about selectedIndex



<0> still doesnt work
<1> is working just fine for me....are u using FF?
<0> yes
<1> P-O any luck?
<1> DOMapi has any table decorations?
<2> hello
<2> whats the cl*** for creating form elements ? (input, f.e.)
<3> Heh.
<2> it's not funneh :)
<3> Haven't seen any such cl***.
<2> oh
<2> how to create an input object to add it to the form then ?
<3> var myInput = document.createElement('INPUT'); myInput.type=blahblahbla; document.forms['formname'].appendChild(myInput)
<2> good, so my last idea was correct, tho i had to go to sleep cause i had a train nex day morning :>
<2> i didnt put my sources in the net tho and now i cant fix it i think :/
<2> co to remove this input ill just have to getelementbyid it and removeChild('myInput'); ?
<3> No, you document.forms it. And you don't quote myInput
<2> document.forms.['name'].removeChild(myInput) aight?
<3> No.
<2> im good at that arent i :D
<1> hey long has domapi been in development?
<4> 807 years
<1> heh
<5> hey anyone can help me out with a tricky script?
<4> depends if its yours or not ?
<5> its mine
<5> here's the script: http://www.vkarlsen.no/pastebin/ViewPaste.aspx?id=7098
<5> i want to move options from one select to another and always put the content of the second select in a hidden text
<5> neofuture: please give me a clue
<5> the text fields are just for debugging
<5> neofuture: what do you think of my method?
<6> hi. Is there any way to do an sql query from javascript? Meaning that i want to grap information from the server after the page loads, and after a particular user event
<7> ddeeaa, why don't you use special script &
<7> ?
<6> meaning.
<6> calling up a script and getting results from there ?
<7> ddeeaa, perl|php|asp ?
<7> ddeeaa, yeah and handle them in javascript
<6> i AM using. But its just that i dont want to load up the whole bunch of database records first
<6> that'd be rather inefficient.
<6> its like. I want to be able to choose a particular person, then have the particulars of that person shown
<6> but because my database is quite big... about 10K entries, i dont want to have all the data loaded up by php first
<6> so i want to have the names loaded first, have the user choose the person, then fire up javascript function on that event
<7> ddeeaa, try to use ajax
<6> hm ok. Thanks. will read it up now
<6> I think thats what i might need. Thanks for the info. Might look into ADO also. seems useful
<8> does anyone know how to redirect a user to another page after some time the user entered the webpage
<3> Already told you a couple hours ago.
<8> :)
<9> hey guys
<9> how do I change the color of the scroll bar in IE with js?
<0> any french speaker out there ?
<10> hello
<3> Hello.
<0> why does it tell me that " < " is an illegal xml caracter
<3> Because you have it a place it's not supposed to be I guess.
<0> javascript console tells me : missing } after function body ... last line
<0> not true at all
<3> Url?
<0> its offline
<3> Don't complain if you don't want to show your code. :-)



<0> http://tim.cstj.net/etudiant/2005/0542083/prog/index.htm
<0> here it is
<0> nothing works
<0> not even my background changer
<0> 30$ to the one who make it full work
<3> ...
<0> what is the error which says missing }
<0> i dont see how it could miss something on the very last lien
<0> line
<3> You have got to be kidding me.
<3> Learn the basics first and _then_ you can start messing with the "fancy" DOM methods.
<3> window.document.getElementsByTagName("body")[0] -> document.body'
<3> Nothing's running here. And no errors either.
<0> your firefox is outdated
<3> Yeh?
<0> 1.5.0.3
<3> I'm sure they've made huge changes to the js engine lately heh.
<11> P-O: line 33, "if (aleatoire){" has no matching "}"
<0> has no matching ?
<3> Means you have { but not }
<0> fixed it
<0> pilum
<0> the document.body
<0> what do i need to write exactly
<3> document.body.style.whatever?
<0> window.document.getElementsByTagName("body")[0].style.backgroundColor = "#007700";
<0> whats wrong with that
<3> It's awkward and it uses an unneccesary function call.
<3> It's inefficient.
<0> but it SHOULD
<0> work
<3> There's lots of things which work but nevertheless should be avoided.
<3> And it's absolutely silly to look up an element which is already registered globally.
<0> but
<0> this is not the reason
<0> of the non working
<3> No. That's a FYI.
<0> a what
<3> For Your Information
<0> ok
<0> but what about the missing } at the end
<0> i dont ssee it
<3> You just said you fixed it..
<0> i fixed the line 33
<0> http://tim.cstj.net/etudiant/2005/0542083/prog/index.htm
<0> it says init() isnt defined
<0> it is in my body onLoad
<0> ok fixed that
<0> now it says that 2 things are undefined
<0> http://tim.cstj.net/etudiant/2005/0542083/prog/index.htm
<0> but i have declared them
<0> at the very beginning
<0> where's the problem
<0> http://tim.cstj.net/etudiant/2005/0542083/prog/index.htm
<12> line 384
<0> there is only 1 }
<0> and it is correct
<0> isnt it ?
<12> one of these methods is missing
<12> init(); couleurBackground();
<12> or has an error in it
<0> it is in the onLoad
<12> look to line 384 in script.js
<0> line 384
<0> is
<0> }
<0> how can it be wrong
<0> its only 1 character
<12> }4
<12> }}
<0> forgot to refreshj
<0> now
<0> http://tim.cstj.net/etudiant/2005/0542083/prog/index.htm


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

original name of paul mccartney's fictional church cleaner 'eleanor rigby'?
#javascript
#skype
#chatzone
#java
#mysql
Printing a char * array c++
shakespeare snudge -bootsie
#AllNiteCafe
#apache



Home  |  disclaimer  |  contact  |  submit quotes