Ask Question Forum:
Model Library:2025-02-08 Updated:A.I. model is online for auto reply question page
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by sevensnake77
at 2024-07-24 09:20:07
Point:500 Replies:4 POST_ID:829092USER_ID:11992
Topic:
Programming for ASP.NET;;jQuery
Expert: duncanb7 replied at 2024-07-24 10:38:23
Gary and sevensnake77, Thanks
Have a nice day
Duncan
Have a nice day
Duncan
Author: sevensnake77 replied at 2024-07-24 10:37:21
thanks
duncanb7 I like the format but the first one is exactly what I needed. Thanks
duncanb7 I like the format but the first one is exactly what I needed. Thanks
Assisted Solution
Expert: duncanb7 replied at 2024-07-24 10:08:36
250 points EXCELLENT
Just reminder only from based on Gary's correct code and adding toFixed() function so that the value 2000 to be 2000.0000
result = {"d":[{"ID":22,"ID":20006,"APT":16,"hold":2000.0000},{"ID":21,"ID":20006,"APT":8,"hold":3000.0000},{"ID":20,"ID":20006,"APT":3,"hold":1000.0000}]};$.each(result.d, function(i, item) { $("[name="+this.APT+"]").val(this.hold.toFixed(4));}); 1:2:3:4:5:
Duncan
Accepted Solution
Expert: Gary replied at 2024-07-24 09:47:40
250 points EXCELLENT
result = {"d":[{"ID":22,"ID":20006,"APT":16,"hold":2000.0000},{"ID":21,"ID":20006,"APT":8,"hold":3000.0000},{"ID":20,"ID":20006,"APT":3,"hold":1000.0000}]};$.each(result.d, function(i, item) { $("[name="+this.APT+"]").val(this.hold)}); 1:2:3:4:5: