search for: bclary

Displaying 3 results from an estimated 3 matches for "bclary".

Did you mean: bclark
2005 Sep 30
5
Converting text into a javascript array
Hey Guys, I know this isn''t specific to scriptaculous libraries but it''s something that I''m exploring as I use the ajax functions in prototype. My application server is not rails but java and I was thinking of returning a javascript array in the ajax response. When I get back my response is it, of course, text and I''m not sure how best to convert it into
2005 Sep 22
5
Prototype lib : for-each loops and DontEnum
...rnal variables (e.g. length ) with a property called DontEnum which excludes them from a for-each. Unfortunately, there doesn''t seem to be an api to set this yourself :( - Links <http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf> - ECMAScript Spec <http://bclary.com/2004/09/26/boot-camp-javascript> - Excellent language overview Any thought / opinions or suggestions welcome. Matt ---------------------------------------------------------------------------- ------ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3...
2005 Oct 13
3
Tweaks of Array.prototype
Hi all, I encountered a big problem when trying to use Scriptaculous and Htmlarea in the same page. The Htmlarea code uses a lot of "for (var i in array_variable)" to iterate on array elements. Problem is that prototype.js augments Array.prototype, which then show up in the iteration, severely breaking htmlarea. The easy workaround is for sure to use "for (var i = 0; i <