Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 1st, 2004, 04:49 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
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
  #2 (permalink)  
Old April 1st, 2004, 09:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , USA.
Posts: 1,111
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.

  #3 (permalink)  
Old April 3rd, 2004, 07:23 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
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.
  #4 (permalink)  
Old April 5th, 2004, 03:01 AM
Authorized User
 
Join Date: Dec 2003
Location: sg petani, kedah, Malaysia.
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.



  #5 (permalink)  
Old December 1st, 2005, 03:50 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
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.
  #6 (permalink)  
Old December 1st, 2005, 05:09 AM
Registered User
 
Join Date: Dec 2005
Location: , , .
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.
  #7 (permalink)  
Old December 3rd, 2005, 10:38 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 11:27 PM.


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