Eric Pascarello wrote:So I woke up thinking I would see some nice generated code and to my surprise I did not. If you show us some code that is not the serverside markup we will be able to see your problem.
Eric
Eric Pascarello wrote:The forum removed the event handlers since the html markup was not in a code tag.
Please check the "Disable HTML in this message" checkbox and repost your code.
Eric
Eric Pascarello wrote:And what is $(Emptbl.id)
Eric
Eric Pascarello wrote:if Emptbl an html table or an JSON object?
Eric
Eric Pascarello wrote:Shouldn't your code be
or just
Eric
Eric Pascarello wrote:Than that is serverside code, what does
1. "javascript:EmpSelected($('Emptbl').id)"
render when you look at it view the view source of the browser?
Eric
Eric Pascarello wrote:Um, go back to the way it was before?
I think you were using some sort of JavaScript library there and not serverside code.
I know what the problem is, I am trying to get you to see it be looking at the source code that is generated by your server.
Eric
Eric Pascarello wrote:code looks the same
Why is $(Emptbl.id) not being converted to some sort of string?
Eric
Deeps Mistry wrote:
Eric Pascarello wrote:code looks the same
Why is $(Emptbl.id) not being converted to some sort of string?
Eric
Even I am trying to figure out the same.
I also tried this:
<display:column class="idColumn" property="id" title="Id" sortable="true" href="javascript:EmpSelected('<c:out value="*$(EmpTbl.id)*">')" style="width: 70px">
</display:column>
But i am getting syntax error.
Himanshu Kansal wrote:Is $(EmpTbl.id) correct? Should it be ${EmpTbl.id}? (I ve not followed the complete thread)
Also the javascript call can be with escaped quotes:
or
Regards
Experience and talent are independent of age
SCJP 6
Punit Singh wrote:Hi,
Did you try this one:
Experience and talent are independent of age
A teeny tiny vulgar attempt to get you to buy our stuff
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
|