4 thoughts on “Useful AJAX examples and libraries”
I’m trying to get something AJAXy going on my site but have run aground at determining if an element (the kind returned by getElementById) is blank. No matter what attribute I use, I can’t seem to get the string held in it (in order to test the length). I could just reverse the visibility but that seems so… inelegant.
If you have an answer and could email me (at the address for this comment) I would be thrilled.
Seems like document.getElementById(“id”).innerHTML is sufficient to my needs.
I was actually going to get someone I know to help ya 🙂 I am just a noob 🙁
Well I couls still use a little help–my code works fine in Firefox but not quite right in IE. Check out http://www.billsaysthis.com/tests/bookreviews.php in both, click any book title and you’ll see the difference. Uggh!
I’m trying to get something AJAXy going on my site but have run aground at determining if an element (the kind returned by getElementById) is blank. No matter what attribute I use, I can’t seem to get the string held in it (in order to test the length). I could just reverse the visibility but that seems so… inelegant.
If you have an answer and could email me (at the address for this comment) I would be thrilled.
Seems like document.getElementById(“id”).innerHTML is sufficient to my needs.
I was actually going to get someone I know to help ya 🙂 I am just a noob 🙁
Well I couls still use a little help–my code works fine in Firefox but not quite right in IE. Check out http://www.billsaysthis.com/tests/bookreviews.php in both, click any book title and you’ll see the difference. Uggh!