@# Quotes DB     useful, funny, interesting





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



Comments:

<0> i have a question please : how to write that to make it work ? : setTimeout("applyChanges(Imgid)",200);
<0> Imgid is a function
<0> i mean a variable
<0> i tryied setTimeout("applyChanges("+Imgid+")",200);
<0> didn't word
<1> setTimeout("applyChanges('"+Imgid+"')",200);
<0> ^Ramon- : it work without the " " but think you anyway
<1> k
<2> didnt word, think you ?
<1> lol
<3> how do I convert HTML entities to their actual character equivilants?
<3> for example, how do I convert &lt; into < ? is there a function already made to do that?
<4> http://ca.php.net/manual/en/function.html-entity-decode.php
<4> oh right, this is javascript
<3> any clue?
<3> Does anybody have any idea? I don't even have access to the php funciton html_entity_decode because my php version is too old



<1> javascript version of html_entity_decode ?
<3> yes
<1> easy
<5> as far as I know, there is no predefined javascript method for converting between ascii and html escaped characters. I'd love to find one
<1> do you have php?
<1> youll need php to do this
<1> or other predefined translation tables
<1> youll need a translation table
<1> layouted as a javascript aray
<1> get the idea?
<1> http://php.net/get-html-translation-table
<3> I already coded a replacement for html_entity_decode
<3> in php
<3> interested in seeing it? its quite simple, it took me 4 minutes
<3> and that's just because I had to look up functions in the php manual
<1> 4 minutes?
<3> yes
<1> i can do 3'59
<1> :)
<1> joke man..
<1> anyawy..
<1> you have a replacement now
<3> I got it, i did laugh; don't worry
<1> thats what you want right?
<1> then alls good
<3> damn, now I don't feel special anymore, I read down further on that get_html_translation_table doc, in the comments someone already wrote and identical function.\
<1> hehe
<1> i feel that all the time
<3> You feel special all the time?
<1> no
<1> thinking i coded a unique function
<1> only to find out theres an existing one
<0> hi
<0> i have a question please : i need to get the mouse cursor position (in the page not in the window) in IE, so i am using document.documentElenent.scrollTop and left
<0> but IE say that their is an error
<3> don't use those
<3> those damn drugs
<3> never
<4> document.documentElement.scrollTop ?
<0> oui
<0> i mean yes
<4> you spelt it wrong before :P
<4> en francais
<0> :)
<0> tu perle franais ?
<4> non
<0> s/parle
<4> je suis d'canadian
<0> donc tu parle franais :)
<4> non
<0> ok
<4> i speak english
<4> i almost failed french :P
<0> :)
<4> je suis du* canadian
<4> lol
<4> where are you from?
<6> "Je suis canadien" OR "Je suis du Canada"
<4> im not canadien
<4> canadien == french canadian
<6> No, Canadien = Canadian in french



<4> :O
<4> k, my teacher is an idiot
<6> French Canadians = Quebecois, caus we hate being called french canadians
<6> :)
<0> exacube : iam french form paris
<4> she said canadien is a french canadian
<0> s/form
<4> wyst: ah
<0> from
<6> exacube in french, "French Canadian" is "Canadien Franais"
<0> donc y a des gens qui parlent franais ici :)
<4> :o
<6> wyst yeah but it's a pretty known rule that only english should be spoken on programming channel
<4> ah
<4> english is unverisal
<7> and we keep all the french canadian locked in quebec :P
<0> i just wrote a line in french
<0> this is not so terrible
<6> exacube that's pretty egocentric to say that, i don't think people in other galaxies speak english, so we can only say it's international :P
<7> btw, people in the other galaxies speak Chinese
<6> ht311 yeah, so why the heck are you in Quebec :P
<7> I am the guard
<6> wyst no it's not was just letting you know, not accusing of anything
<6> ht311 lol
<4> StaZ[work]: universal == worldwide, not universe-wide
<7> on the related topic http://www.bbspot.com/News/2006/08/google-crop-circles.html
<0> StaZ[work] : it's cool :)
<0> anyhow i need to learn english
<6> stupid connection...
<6> i think the word universal always refer to something very very very far from being a universe, as the universe isn't imaginable for the human brain, as Douglas Adams said.
<6> lol ht311 that's totally absurd :P
<7> I was laughing so hard when I scroll down saw the alien's picture
<6> yeah, very nice one
<8> Hello
<8> anyone online?
<6> kajskdasj 33 persons, including you
<6> 32, excluding X
<6> he doesn'.t talk much
<9> How do I blank out the input fields on a form when a user Reloads the page with his browser? I've tried document.formname.elements['inputname'] = ' ' but it doesn't refresh the input area. sigh
<6> Rex_Goodhear that is browser specific
<7> don't set the value in the input tag
<6> and shouldn't be of your concern, why do you care?
<9> I'm not setting the value in the input tag. The user enters a value, then hits Reload, and the value stays there. I would like his typed value to disappear.
<9> so, I've tried the above statement with window.onload
<9> The statement works from within another routine... document.formname.elements['inputname'] = 'whatever' updates the display
<7> .elements['inputname'].value
<6> Rex_Goodhear why do you care about this ?
<9> StaZ[work], try this website.... you'll understand: http://24.74.74.112:53001/trivia.php
<7> he want to make the user suffer, the user have to type everything again and again
<8> i try to get some data from an .xml with ajax
<8> and i`ve get a problem
<8> i don`t know how to show them..
<9> ht311, no! hehe... The trivia questions get reloaded.... so the typed answers are no longer applicable
<8> i`ve made an FOR..
<8> and loop trough array
<8> but if i alert them i receive [object Element]
<7> my IE don't retain the value
<8> not the element
<6> Rex_Goodhear tried <input type="reset"> to clear the fields instead of refreshing?
<7> kajskdasj: it is fine, you getting the xml node element, it is normal
<9> ht311, ah! Firefox retains the value, but IE does not. Interesting.
<8> yes
<8> but
<8> how to alert them:(
<9> StaZ[work], I'm not familiar with that method.
<7> Rex_Goodhear: as StaZ[work] said, it is a browser thing, you shouldn't care
<8> ht311 could you tell me please?
<7> .nodeValue ?
<9> ht311, I care because the answers to the questions don't make sense when the page is reloaded.
<7> because you shoudln't use a input field to show the answer
<8> hmm?
<8> ht311 could you explain more
<8> ..
<9> well, even the space where the user inputs his answer doesn't clear out


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

#linuxhelp
#java
#linux
ryan15
#linux
javax.com windows
#php
#skype
Fabiola bullz
#linux



Home  |  disclaimer  |  contact  |  submit quotes