944,167 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1924
  • ASP RSS
Feb 20th, 2007
0

PLz its very urgent.

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pravly is offline Offline
4 posts
since Feb 2007
Feb 20th, 2007
0

Re: PLz its very urgent.

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
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Feb 20th, 2007
0

Re: PLz its very urgent.

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.
Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006
Feb 21st, 2007
0

Re: PLz its very urgent.

Click to Expand / Collapse  Quote originally posted by nikkiH ...
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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
pravly is offline Offline
4 posts
since Feb 2007
Feb 21st, 2007
0

Re: PLz its very urgent.

Click to Expand / Collapse  Quote originally posted by pravly ...
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, ...
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,659 posts
since Dec 2004
Feb 21st, 2007
0

Re: PLz its very urgent.

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" />
Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Can i add external search engine box to my page
Next Thread in ASP Forum Timeline: Can i make an online questionaire using ASP?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC