PLz its very urgent.

Reply

Join Date: Feb 2007
Posts: 4
Reputation: pravly is an unknown quantity at this point 
Solved Threads: 0
pravly pravly is offline Offline
Newbie Poster

PLz its very urgent.

 
0
  #1
Feb 20th, 2007
Hi everybody,

I am facing problem in javascript.
I got javascript code for desiging a input form.
That code is saved as test.html file.
My Doubt is:

1) How do i use in my mainpage.aspx?

PLz its very urgent.

Thank you all
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,190
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 483
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: PLz its very urgent.

 
0
  #2
Feb 20th, 2007
One, this is JSP section of this forum and JSP stand for Java Server Pages
Two, JavaScript has nothing to do with Java, as JS is scripting language and Java is programming language(needs to be compile first and then can be executed)
Three, you should post it in ASP part of this forum

PS:Request for moving this post to ASP section been sent, so please DO NOT create another post there
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 79
Reputation: nikkiH is an unknown quantity at this point 
Solved Threads: 4
nikkiH's Avatar
nikkiH nikkiH is offline Offline
Junior Poster in Training

Re: PLz its very urgent.

 
0
  #3
Feb 20th, 2007
You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Reply With Quote Quick reply to this message  
Join Date: Feb 2007
Posts: 4
Reputation: pravly is an unknown quantity at this point 
Solved Threads: 0
pravly pravly is offline Offline
Newbie Poster

Re: PLz its very urgent.

 
0
  #4
Feb 21st, 2007
Originally Posted by nikkiH View Post
You take out the relevant javascript portions and save it as a .js file, then include it like any other javascript file in your aspx source.

how to include javascript file in a aspx source...
plz expalin it detailly
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,190
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 483
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: PLz its very urgent.

 
0
  #5
Feb 21st, 2007
Originally Posted by pravly View Post
how to include javascript file in a aspx source...
plz expalin it detailly
I'm not ASP guru, I don't even know ASP because of certain reasons but with quick google search I come up with two findings
A simple quiz program in ASP and JavaScript
ASP and Javascript together

And if all this is so "urgent" why didn't you search internet, ...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 79
Reputation: nikkiH is an unknown quantity at this point 
Solved Threads: 4
nikkiH's Avatar
nikkiH nikkiH is offline Offline
Junior Poster in Training

Re: PLz its very urgent.

 
0
  #6
Feb 21st, 2007
You include it exactly the same as you would in an html file. An aspx file is still markup, just like html, and normal markup tags are allowed in addition to special aspx tags.
So,
<script src="yourjsfile.js" type="text/javascript" />
Google is your friend. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit http://www.kaelisspace.com/
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC