CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 [RESOLVED]Javascript: Pulling value from textbox to use in search field on another page

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 08/06/2008, 12:12 PM

Let me explain a little more.

I have a textbox on one page. I want to click a button and up pops a new window with a grid that displays search results, based on the value from the 1st page's textbox.

Here's what I have so far:
onclick="javascript: window.open('http://ccnet-appserver/permit/swo/Search_SWO.asp?s_swo_jobsite=' + document.Permit.Job_Site.Value,'windowName','toolbar=0');"

It's doing everything it should, except using the textbox value in the search parameter.
View profile  Send private message
Chris__T


Posts: 339
Posted: 08/06/2008, 2:34 PM

i didn't have enough single quotes:

onclick="javascript: window.open('http://ccnet-appserver/permit/swo/Search_SWO.asp?s_swo_jobsite=' +  document.Permit.Job_Site.Value + ' ','windowName','toolbar=0');"
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.