How to get value in content editor using javascript of newform.aspx
HelloI am using MOSS with FBA. I have checked userlogin name and group which user bellong to in Page_load event of standard newform.aspx, where I am storing "Yes" or "No" in a string variable i.e. "yesNo". Now I want to pull this variable in content editor where I will disable 1 pulldown if "yes/No" has "No". I got a function thru to disable function using javascript. But I am not able to pull 'yes/No' variable value, let me know how can I do this?
March 18th, 2010 5:43pm

MikeWhy it is moved to Setup... forum?. It is programming related post, I asked about javascript with code behind (page_load) event, it is not at all related with Admin activities.Can you please re-look into this?
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2010 6:49pm

use an hidden html control , set this control values with ur variable (yesno) , and read this control value in javascript for accessing form controls using javascript (in CEWP) , plz check this.... http://gj80blogtech.blogspot.com/2009/12/client-side-programming-in-sharepoint-3.html Thanks Ganesh Jat [My Blog | LinkedIn | Twitter ]
March 19th, 2010 12:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics