File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Javascript And ASPX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Javascript And ASPX" Watch "Javascript And ASPX" New topic
Author

Javascript And ASPX

Yans Tan
Greenhorn

Joined: Jul 11, 2006
Posts: 29
Hi!

First I got to apologise for posting this if it is not at the correct place. Just like to check with you guys if anyone had worked with vb.net before?

I am trying to do some javascript in it. I have no idea how to parse a value in. But i know hw to refer to the file. Should I declare the entire .js file in or parse value to the .js file?

Thanks in advance

Regards
Yans
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I have no idea how to parse a value in. But i know hw to refer to the file. Should I declare the entire .js file in or parse value to the .js file?


What are you trying to do? What is parse a value? trying to read a form field value?

Eric
Yans Tan
Greenhorn

Joined: Jul 11, 2006
Posts: 29
Hi!

Thanks for replying. I am actually referring to like parsing variables declared in vb.net into the .js files.

For example,

menus[0].addItem("", "", 25, "left", "Diploma", 1);

I wonder if it is possible to change the second last field "Diploma" to a var. From there some how parse in the values from vb.net. Or maybe declare the entire javascript in the vb.net?

Thanks in advance

Regards
Yans
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
RegisterClientScriptBlock and RegisterStartupScript

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Javascript And ASPX