Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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
  #1 (permalink)  
Old July 8th, 2011, 05:50 PM
Authorized User
Points: 153, Level: 3
Points: 153, Level: 3 Points: 153, Level: 3 Points: 153, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2004
Location: , , .
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem submitting a form with javascript

I'm trying to submit a form using Javascript but getting error
HTTP Error 403.14 - Forbidden

Basically the user will select an item which fires the javascript function which will send the info to this same page. The page would reload and do some processing based on the value passed. Am I missing something here?


Javascript function

function selectID2(txttemp) {
var txtvalue = " ";
txtvalue = txttemp;
document.frmMapCurrency.action = "MapCurrency.asp?CurrencyID=" + txtvalue;
document.frmMapCurrency.submit();
}

asp
<form name="frmMapCurrency"method="post">

Last edited by jtrifts; July 8th, 2011 at 05:54 PM..


Similar Threads
Thread Thread Starter Forum Replies Last Post
Not sure why the form isn't submitting arholly ASP.NET 3.5 Basics 1 April 1st, 2010 06:21 AM
form submitting cro_crx Pro PHP 5 January 25th, 2005 12:19 PM
Form Submitting cro_crx Beginning PHP 3 January 17th, 2005 01:30 PM
Form not submitting - Timeout problem? danlinn General .NET 1 June 24th, 2004 08:40 PM





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