Hi,
Is it possible to change the field value from within the client side script, such as that put in HTML element?
If so, how?
Thanks.
change the field value from client side script?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Give the input element an id: Select Field Control > Html Element Properties > Editor Input > id
Then use jQuery e.g.
This will change it in the browser. The field will only be sent to the server when the next event occurs.
Then use jQuery e.g.
Code: Select all
$('#id').val('xxxx');
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Excellent!
Using this trick I can solved the backend script not executed.
Thanks a lot, Jon.
Using this trick I can solved the backend script not executed.
Thanks a lot, Jon.
Jon wrote:Give the input element an id: Select Field Control > Html Element Properties > Editor Input > id
Then use jQuery e.g.This will change it in the browser. The field will only be sent to the server when the next event occurs.Code: Select all
$('#id').val('xxxx');
0 x
Who is online
Users browsing this forum: No registered users and 10 guests