I use the jQuery(‘#EUR’).text() command to get the rate I need into a form field for further calculations.
The problem is that sometimes I get the value in the cell I need, and sometimes zeros are displayed there.
Perhaps this happens because the courses have not yet had time to load on the page and there are still zeros, and the jQuery(‘#EUR’).text() command is already working and showing me these zero values.
Perhaps I need to make some kind of delay for the jQuery(‘#EUR’).text() command to execute or for the form to load?