Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 April 1st, 2004, 04:49 AM
Authorized User
 
Join Date: Dec 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default get value from javascript function

hi everybody,

i'm sorry, i don't know where to ask this question..

my problem are..(I'm using asp.net)

I have 2 form, and I want to pass a value from form1 to form2 using javascript function..and now everything is ok..the problem is at form2, i got the value, but I don't know how to manipulate the value, so I can use it in a sql statement. How could I do this..

thank so much...
__________________
Suzila
 
Old April 1st, 2004, 09:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Why are you using javascript to pass variables? Use a QueryString and Request the variable(s) into your SQL statement.

 
Old April 3rd, 2004, 07:23 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

if u r using ASP submit in ASP. u can [u]Requst.QueryString</u> & [u]Request.form</u>. but u can aslo do it with JavaScript in with manual programming...
Check [u]Request</u> in MSDN.
tell me what is ur plan to help u more.

Always:),
Hovik Melkomian.
 
Old April 5th, 2004, 03:01 AM
Authorized User
 
Join Date: Dec 2003
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to suzila
Default

thanks 4 reply, now i'm using Request.QueryString and its work :), but i still wondering how if i'm using javascript.



 
Old December 1st, 2005, 03:50 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to nellaikumar
Default


Dear Mr.Melvik,

I am Nellaikumar, working as a Software Developer in Microsoft Technologies. Right now, I am facing the problem in my project.

Kindly go through this and extend your helping hand.

---------------------------------------------------------------
I want to know how to identify the value & name of the each checkbox.

I displayed the checkboxes in row & column wise. If I select any one of those, then I want to display the name of the respective checkbox’s header row and header column.

I created checkboxes using .Net (stringbuilder). Header row and Header column are displayed using dataset (from database).

Even I tried using html & javascript for this, I couldn’t fix.

Could you help me regard this?

Looking forward to your valuable response.
----------------------------------------------------------------

Regards,
P.Nellaikumar,
nellaikumar2002@rediffmail.com
Bangalore,
India.
 
Old December 1st, 2005, 05:09 AM
Registered User
 
Join Date: Dec 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to nellaikumar
Default


Hi Techs,

I want to know how to identify the value & name of the each checkbox.

I displayed the checkboxes in row & column wise. If I select any one of those, then I want to display the name of the respective checkbox’s header row and header column.

I created checkboxes using .Net (stringbuilder). Header row and Header column are displayed using dataset (from database).

Even I tried using html & javascript for this, I couldn’t fix.

Could you help me regard this?

Looking forward to your valuable response.
----------------------------------------------------------------

Regards,
P.Nellaikumar,
nellaikumar2002@rediffmail.com
Bangalore,
India.
 
Old December 3rd, 2005, 10:38 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

nellaikumar,

You've posted this message in a *very* old thread. You'll probably have more luck starting a new topic with your question. Also, your question seems to pertain to javascript, so I'd recommend posting a new topic in a javascript forum.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript print function mii2029 ASP.NET 3.5 Basics 2 September 27th, 2008 12:56 PM
stop current javascript function using javascript sakthi Javascript 3 June 2nd, 2008 03:30 PM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 AM
Using ASP in a javascript function Terry Joseph Migliorino Javascript 2 December 13th, 2005 05:48 AM
JavaScript: what is the function of "length" in th gilgalbiblewheel Javascript 2 March 9th, 2005 07:17 PM





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