Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
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 July 10th, 2011, 09:06 AM
Authorized User
 
Join Date: Aug 2004
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem posting 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">





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Posting XML data via XMLHTTP steelrose XML 1 November 15th, 2007 05:19 PM
AJAX form posting problem. NisarAhamed Ajax 0 November 21st, 2006 01:09 AM
Posting problem with forms think JS is the answer? busher Javascript How-To 3 March 4th, 2005 02:06 AM
posting back javascript data badgolfer ASP.NET 1.0 and 1.1 Basics 2 September 26th, 2004 09:05 PM
Problem Posting Reply Ben Horne Forum and Wrox.com Feedback 5 April 14th, 2004 01:56 PM





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