Forums Register Login

how to set value in fmt:Format from jquery

+Pie Number of slices to send: Send
Hi,

i need to set the value in fmt:FormatNumber dynamically from jquery.



i have tried this

$('#total').find('fmt\\:formatNumber').attr('value', 'newValue');

and this is not working for me..can you people get me out of this.
+Pie Number of slices to send: Send
What you are trying to do is impossible.

The JSTL tag runs on the server to crete the HTML page to send to the browser. At the browser, JavaScript is interpreted and executed. So you cannot expect the server-side tag to be able to interact with the client-side JavaScript.

Please read this article to understand the basic operations of JSP.
+Pie Number of slices to send: Send
Thanks Bear Bibeault
Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 2702 times.
Similar Threads
Setting currency problem.
fmt & html tags together??
jQuery drag and drop of divs
NumberFormat, Locale and fmt:formatNumber
Need help selecting a value from a list with multiple ids that are the same
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 03:51:40.