Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Scripts in ASP

Status
Not open for further replies.

Lenvdb

Programmer
Jun 21, 2002
81
GB
Please would someone kindly enlighten my dull mind on the topic of Clientside and serverside scripts?

I am designing an Intranet system using Javascript on Clientside and VBscript on Serverside.

I use Visual Interdev 6 and IIS. This tag sometimes appear and I am not sure what it means:

<% Language=&quot;VBScript&quot; %>

and other times I see

<%@ Language=&quot;VBScript&quot; %>

What is the diffs between the two? What do they mean.
I am trying to execute a JAVAScript and my page wont recognize the forms on the page anymore.

Thanks for your help
Len
Regards
 
these tags are stating what the server side script is written in. thus
<%@ Language=&quot;VBScript&quot; %>
is telling the server that it is vbscript

the correct way to state this is the one I used above, however I'm not sure this would cause your client side script any interference seeing as both of the statements are incased in the <% %> meaning no interaction with the client. If you want a quick fix you can take all of these out of your code due to vbscript being the default for asp. You cannot mandate productivity, you must provide the tools to let people become their best.
-Steve Jobs
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top