Reputation: 957
I want to see cookie value in the textbox.
I have used this
document.getElementsByName('Custom_Field_Custom2')[0].Value=$.cookie('artname',{ path:'/'});
but that cookies value is not displaying in the textbox.
What I need to do?
Upvotes: 1
Views: 977
Reputation: 61792
value
is case sensitive. Try:
document.getElementsByName('Custom_Field_Custom2')[0].value=$.cookie('artname',{ path:'/'});
Upvotes: 1