Hi,
Plzz help me out.. I want to access values in HTML page which i am passing from an ASP.NET page... How to access plzzz help
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jaish MathewsPosted Jan 13, 2011, 6:46 AM
Ananya SuhasPosted Jan 13, 2011, 4:13 AM
I don`t know even abc of JAVASCRIPT
Jaish MathewsPosted Jan 13, 2011, 3:58 AM
Did you try using java script global variables? i.e. declare varibles outside of java script functions. Once you set these variables in a page, globally available across any page. In below segment paegName can access across multiple pages
var pageName
function SetPageName()
{
pageName = <
}
George OnofreiPosted Jan 13, 2011, 2:30 AM
using JS, there surely is a way to access data from the previous page. Will search some more and give a reply soon.
Ananya SuhasPosted Jan 13, 2011, 2:18 AM
Cant use view state due to security reasons... And all the fields data must be entered by user.. so cant be hidden field
George OnofreiPosted Jan 13, 2011, 1:37 AM
Ananya SuhasPosted Jan 13, 2011, 1:14 AM
U did not understand... 2nd page is HTML page and in this HTML page how can i access the value which is passed from as.net page
George OnofreiPosted Jan 13, 2011, 12:37 AM
sangmesh sangulagePosted Jan 12, 2011, 11:54 PM
Just if you want to take values in .aspx page i.e in desing then use <%request.querystring[value] %> in that page and from first page pass the value in query string using response .redirect.
plz let me know if i am wrong I am considering your second page is aspx page.