• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

select statement in struts

 
Guddu Ali
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<html:select property="value(seriesGrp)" style="WIDTH:115px;" onchange="getModel()">

<html:select property="seriesGrp" style="WIDTH:115px;" onchange="getModel()">

What is the difference between above two statements in which one property has value(seriesGrp) other only seriesGrp ?

And we get the value of element like
document.getElementById("value(seriesGrp)").value and document.getElementById("WIDTH:115px").value ie one by using property and other by style. What is difference in both cases.
 
Joe Ess
Bartender
Posts: 9320
10
Linux Mac OS X Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guddu Ali wrote:
What is the difference between above two statements in which one property has value(seriesGrp) other only seriesGrp ?


Do they do anything different when you open the page?

Guddu Ali wrote:
And we get the value of element like
document.getElementById("value(seriesGrp)").value and document.getElementById("WIDTH:115px").value ie one by using property and other by style. What is difference in both cases.


Again, do they do anything different?
 
Guddu Ali
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Still I am not able to get the answer of my query.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Joe asked you two questions soliciting more information. Can you answer them?
 
Guddu Ali
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Joe,

No, There is no difference when I open the page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic