Page 1 of 6 1234 ... LastLast
Results 1 to 10 of 60

Thread: javascript

  1. #1

    Default javascript


    <script type="text/javascript">

    function displayInfo(frm){


    var name =" ";
    var insaddress =" ";
    var contact =" ";
    var faxno = " " ;
    var mobile = " ";
    var email = " ";
    var age = " ";
    var *** = " ";
    var status = " " ;
    var birthplace = " ";
    var birthdate = " ";
    var busaddress = " ";
    var buscontatct = " " ;
    var faxno = " ";


    document.write("<b>Name: </b>"+frm.txtname.value+"<br>");
    document.write("<b>Address:</b> "+frm.txtinsaddress.value+"<br>");
    document.write("<b>Telephone No/s.:</b> "+frm.txtcontact.value+" ");
    document.write("<b>Fax No:</b> "+frm.txtfaxno.value+"<br>");

    document.write("<b>Mobile No: </b> "+frm.txtmobile.value+"<br>");
    document.write("<b>Current E-Mail address: </b> "+frm.txtemail.value+"<br>");

    document.write("<b>Age: </b> "+frm.txtage.value+" ");

    for(i=0;i<frm.txtsex.length;i++){
    if(frm.txtsex[i].checked){

    document.write("<b>***: </b> "+frm.txtsex[i].value+" ");
    }
    }




    document.write("<b>Civil Status:</b>"+frm.civils[frm.civils.selectedIndex].text+" ");
    document.write("<b>Birth place: </b> "+frm.txtbirthplace.value+"<br>");
    document.write("<b>Birth date: </b> "+frm.txtbirthdate.value+"<br>");
    document.write("<b>Name of business/employer/school: </b> "+frm.txtbusaddress.value+"<br>");

    document.write("<b>Business Tel NO.: </b> "+frm.txtbuscontact.value+" ");
    document.write("<b>Fax No: </b> "+frm.txtbusfaxno.value+" ");

    }

    </script>
    i have a problem this script will not run in ie pero mo run siya mozilla.unsa problema ma anhi?

  2. #2
    var *** = " "; is not acceptable...

  3. #3
    Quote Originally Posted by nullpointer View Post
    var *** = " "; is not acceptable...
    var s3x = " "; cguro na bro oi, na censored lng.
    anyway, I would recommend using getElementById() para mag retrieve og value.

  4. #4
    C.I.A. cliff_drew's Avatar
    Join Date
    Oct 2008
    Gender
    Male
    Posts
    4,571
    Blog Entries
    2
    Quote Originally Posted by nullpointer View Post
    var *** = " "; is not acceptable...
    The 3 asterisks is a filtered word 's-e-x'.

    @istoryansucks:

    IE especially IE 8 does not allow scripts by default. Allowing to run scripts will be done manually.
    Last edited by cliff_drew; 10-22-2009 at 09:24 AM.

  5. #5
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    where the hell is your FORM defination? can you post your expensive code ? how do you call precious displayInfo function?

    for(i=0;i<frm.txtsex.length;i++){
    if(frm.txtsex[i].checked){

    document.write("<b>***: </b> "+frm.txtsex[i].value+" ");
    }
    what is this? a drop down box? Have you try to consider using onClick event in your Button? how about using selectedIndex property? Again, I don't know how you able to call that function and which side of planet came from.

  6. #6
    i forgot to post the form..pero unsa man gud ways na maka pa run siya both side sa ie ug firefox

  7. #7
    Quote Originally Posted by MarkCuering View Post
    where the hell is your FORM defination? can you post your expensive code ? how do you call precious displayInfo function?



    what is this? a drop down box? Have you try to consider using onClick event in your Button? how about using selectedIndex property? Again, I don't know how you able to call that function and which side of planet came from.
    gae daw ko sample

  8. #8
    Quote Originally Posted by cliff_drew View Post
    The 3 asterisks is a filtered word 's-e-x'.

    @istoryansucks:

    IE especially IE 8 does not allow scripts by default. Allowing to run scripts will be done manually.
    gae daw ko sample bro.wla ko ka g

  9. #9
    Elite Member
    Join Date
    Aug 2008
    Posts
    1,053
    Blog Entries
    1
    Quote Originally Posted by istoryansucks View Post
    gae daw ko sample
    aw.... show some effort ^^

  10. #10

  11.    Advertisement

Page 1 of 6 1234 ... LastLast

Similar Threads

 
  1. Javascript : How to POST variable using JS
    By emailroy2002 in forum Programming
    Replies: 5
    Last Post: 03-11-2008, 10:38 AM
  2. javascript?
    By pboy in forum Websites & Multimedia
    Replies: 2
    Last Post: 11-10-2007, 05:04 AM
  3. Replies: 5
    Last Post: 04-22-2007, 11:09 PM
  4. JAVASCRIPT: how to object value from window.open()
    By hybrid_X in forum Programming
    Replies: 0
    Last Post: 04-09-2007, 01:45 PM
  5. wat does javascript:void means?
    By etgo in forum Computer Hardware
    Replies: 3
    Last Post: 09-12-2005, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top