I only get the error at first, when the page attempts to load the 
JavaScript file.  Error at line 2.  
*tbl = $('.widget_contents', $('current_widget'));*

The widget object is not yet available and is undefined.  But after the 
page loads, all of the page elements are available.  So when I paste the 
function and attempt to reload it, it properly finds the widget table and 
can continue.

The function updates the exact cell in the Current Conditions table for the 
current Wind value.  I want this Wind value to update in real time, without 
refreshing the page.  I have CRT dropping realtime.txt in the page root, so 
I grab the .txt file, parse out the Wind elements, and update that cell in 
the HTML table.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/1e569ad1-28d4-483b-91ce-70de229c4d7c%40googlegroups.com.

Reply via email to