• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaScript element.value  RSS feed

 
chamini prashakthi
Ranch Hand
Posts: 125
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this code in my js

if i put inside this it always show underfine.
I have values in my database too.
how to get those values in a alert?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see nowhere in your code where you set a value on the element.
 
chamini prashakthi
Ranch Hand
Posts: 125
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It automatically come with js.
no need to specify the value?
What did you mean?
If I put element2.value ="aaa" here all elements show aaa.
I want to see different values?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!