Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to access JavaScript variable in c++;
thank you!!!
Posted
Comments
Mohibur Rashid 25-Jul-13 4:25am    
are you writing your we application in c++?
阿温 21-Sep-13 22:05pm    
thank you!! My problem has been resolved
lewax00 25-Jul-13 10:07am    
In what context? A C++ server with JavaScript client side in a web browser? A C++ program that can be scripted with JavaScript? This makes no sense as it's written.
阿温 21-Sep-13 22:05pm    
thank you!! My problem has been resolved
dhclark 26-Apr-14 22:33pm    
Would you mind sharing your solution? Thanks.

Create a hidden field on client side....

assign your javascript value to this hidden field on clientside...

and finally access this hiddenfield on server side...

Hope that will help... :)
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900