• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaScript element.value  RSS feed

 
Ranch Hand
Posts: 127
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?
 
Author and ninkuma
Marshal
Posts: 66307
152
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: 127
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!