Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Aug 2002
    Location
    india
    Posts
    74
    Thanks
    0
    Thanked 0 Times in 0 Posts

    needs help in javascript

    hai

    can any one tell what's the wrong in this statement.

    seltopic=6;
    document.forms[0].action="SectionsForAddQuestion.do?status=false&subtopic=seltopic"

    i want to retrieve the value in the seltopic, but the word seltopic itself is retrieving not the value 6.
    phani

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Montreal, Canada
    Posts
    644
    Thanks
    0
    Thanked 0 Times in 0 Posts
    seltopic=6;
    document.forms[0].action="SectionsForAddQuestion.do?status=false&subtopic="+seltopic


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •