this code will provide default text in the textfield as "enter query"Code:<input type="text" value="enter query" />
If I want this value to be provided by java variable input_text, where input_text has value of "enter query"
Code:<input type="text" value="<%=input_text%>" />In the first instance, default value for the input text field will becomeCode:<input type="text" value=<%=input_text%> />
<%=input_text%> ,
while in second instance value=enter query , will this be valid ?
I tried it both ways and in the text field, I got "null".
How to capture value dynamically ?
thanks


Reply With Quote
Bookmarks