Wrox Programmer Forums
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 2nd, 2004, 07:31 AM
Authorized User
Join Date: Sep 2004
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Nitin_sharma Send a message via Yahoo to Nitin_sharma
Default Form Submit

Good Morning all,
I have this javascript function in one of the asp file , this function is called on the click of a button.
At this I put different properties to the form which is present and when I try to give action to it and try to give QueryString it says object not defined. Though its value is displayed , I require that variable because it has to be passed to store procedure.

Any help would be appreciated.

function fsubmit()
if (document.frm.txtquestion.value)
//document.frm.action="faqs_update.asp?up=yes&table= " & request("section")&""

    alert("Data Inserted Successfully");
    {alert('Pls enter field')
    return false

Old December 2nd, 2004, 08:51 AM
Friend of Wrox
Join Date: Jul 2003
Posts: 683
Thanks: 0
Thanked 1 Time in 1 Post

Hi Nitin,

If I understand you right, you are trying to access request("section") on the client's machine.

The request object is server-side, so to write it's value to your page you will need something like <%=request("section")%>


Similar Threads
Thread Thread Starter Forum Replies Last Post
form submit problem alexscan Beginning PHP 0 January 1st, 2008 08:37 PM
Form submit into Excel raversunite Infopath 0 August 1st, 2007 05:43 AM
automatically submit a form crmpicco Classic ASP Basics 1 March 30th, 2005 09:13 AM
How can we submit a form without a submit butto phpsharma BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 October 20th, 2003 08:50 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.