@# Quotes DB     useful, funny, interesting





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



Comments:

<0> How can i add text with document.write without erasing the other
<0> i just want to add text when i click on button
<1> heelo?
<1> Pilum
<2> Simple enough. Don't use document.write.
<1> What i need to use?
<2> There's other methods for adding content to a page.
<2> innerHTML for example.
<1> I want to add text when i click on button
<1> onClick="function()"
<2> Indeed.
<1> you got an example of innerHTML
<2> objRef.innerHTML='whavever';
<1> kk
<1> Pilum
<1> like that



<1> function show_bar() {
<1> objRef.innerHTML='<center><img src="loading.gif"></center>';
<1> }
<1> ?
<2> Try that again and be banned.
<1> sry
<2> objRef means object reference. It doesn't magically appear.
<1> ok i put a
<1> document.getElementById["div1"].innerHTML='<center><img src="loading.gif"></center>';
<1> and <div id="div1"></div>
<1> but it does not appear
<1> when i click
<2> Of course it doesn't appear.
<1> why?
<2> getElementById is a method not a collection.
<1> div is on a HTML page
<1> grrr
<1> what i need to get for div?
<2> Parenthesises instead of square brackets.
<1> k
<1> nice thx
<3> hey
<4> Hellows
<5> HELOS
<6> <table width="725" border="0" cellpadding="0" cellspacing="0" >
<6> <!--DWLayoutTable-->
<6> <tr>
<6> <td width="725" height="436" valign="top"><form name="form1" method="post" action="">
<6> <div align="left">
<6> <p align="center"> <br>
<6> </p>
<6> <p align="center"><em><font size="4"><strong>Contact</strong></font></em></p>
<6> <p align="center">First and Last Name : <br>
<6> <input name="nume" type="text" id="nume" size="50">
<6> <br>
<6> Email Address :<br>
<6> <input name="email" type="text" id="email" size="50">
<6> <br>
<6> Comment or Question :<br>
<6> <textarea name="mesaj" style="overflow:hidden;" cols="52" rows="6" id="mesaj"></textarea>
<6> </p>
<6> <p align="center">
<6> <INPUT onclick=testeaza(); type="button" value="Send" name=Submit>
<6> </div>
<6> </form></td>
<6> </tr>
<6> </table>
<6> </div></td>
<6> </tr>
<6> <!--DWLayoutTable-->
<6> </table>
<6> <SCRIPT language=javascript>
<6>
<6> var x = document.forms[0].email.value;
<6> var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
<6>
<6>
<6> function testeaza()



<6> {
<6> msg="";
<6>
<6> if (filter.test(x)) msg=msg+"You must enter a valid email address.\n";
<6> if(form1.nume.value=="") msg=msg+"You have to enter your name.\n";
<6> if(form1.email.value=="") msg=msg+"You have to enter your email address.\n";
<6> http://pastebin.ca/323237 i mean
<4> romeo`: don't paste in the channel.
<4> pasting in channel ==> kick or a ban.
<6> i thought i got in clipboard the link
<6> but it was the whole script
<6> can you help ? the email checking i couldn't figure out
<4> sec.
<4> looked kinda big (from what I got from the paste in the channel)
<4> I usually dont support hudge scripts
<4> because it takes to long for me to "understand" what it's suppose to do / work.
<4> the paste has expired.
<4> You have to repaste it in the paste-bin
<6> http://pastebin.ca/323244
<4> And the question waS?
<6> how can i get the email validation to work ?
<4> well, you write a proper one.
<4> or you "use" a proper one.
<4> like, the one you have now. What seems to be the problem with it?
<6> well ..it dont say You must enter a valid email address.
<6> it don't check it
<6> after i complete all the input's it let me submit the forum dont matter what is on email if is valid or not
<4> sec.
<6> ok
<4> works here.
<4> something else must be wrong.
<6> http://djvalio.com/contact.php
<6> go in here complete all .. put on email asgasga without @ or .com or so :)
<6> it let you submit even if you dont have an corect email
<4> romeo`: You need if(!filter.test(x)) { ... } not if(filter.test(x)) {... }
<4> note the ! before filter.test(x)
<7> but i don't see one in if(filter.test(x)) {... }
<7> :(
<7> (joke)
<7> a bad one..
<7> .. back to my game!
<6> now it's say You must enter but if i enter it still not let me submit it
<6> i'll figure that out
<6> thanks :)
<8> someone here knows syntactics inc.(limketkai)?
<4> jfox: erm!?
<4> jfox: dont privmsg.
<4> jfox: please ask your question again.
<8> i am asking somehere who knows syntactics inc.
<8> am sori, don't understand erm??
<8> fatbrain: are u still there?
<4> I don't even know what "syntactics inc." is
<8> ok.
<4> ht311: hellow
<9> hi
<9> just come back from work ;)
<9> 1am
<4> ouch
<4> I just got up....
<4> 7am
<4> (well, not entierly true, havn't gone to bed yet)
<4> What's keeping you at work til 1am?
<4> Some midnight cleaning? shredding some tax-related documents?
<9> trying to finish the project plus interview new people/monkey in china
<4> ah
<4> what's the project?
<9> the same one, erp project
<4> arh
<9> been 2 yr on this now, seeing the end finally
<4> well, off to breakfast
<4> nice :)
<4> just to venture into another 2year project
<9> next one going to be 1year, repack the first one for another company that make boxes
<4> oh, that takes one year?


Name:

Comments:

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






Return to #javascript
or
Go to some related logs:

e2fsck seek error
romadrid
seagate driveseekcomplete
#AllNiteCafe
#linux
#chatzone
#MissKitten
#php
VVVVVVVVVVVW
#php



Home  |  disclaimer  |  contact  |  submit quotes