|
-
Oct 20th, 2016, 02:46 PM
#3
Thread Starter
Don't Panic!
Re: JQuery not finding the new elements
Hi
Can't show it as the table is generated after the page and inserted.
I got around it by using the JQuery on the container element listening for the type of element. This gets the ID of the row, used this to build the name of the id of the td I wanted.
Here Jquery wouldnt find it, but document.getelementbyid did. So I reverted to that to get the innerHTML of the element. Convert to a number and add to a holding total. Then throw that result with a number format on top to a display element.
Works...
Just wondering if there is any way at all that the JQuery can be told to go get the DOM now, rather than just at the time of first execution...
Or whether it's been fixed since the version that is currently being used (1.7). I think the company is going to update to 1.12 soon though, so will have to re-test again after that...
Thanks for the suggestion.
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|