Sign In/My Account | View Cart  
advertisement

Article:
 What's New in Prototype 1.5?
Subject: Incorrect parameter encoding?
Date: 2007-01-28 20:32:04
From: ickmonst
Response to: Incorrect parameter encoding?

Alright, I have answered my own question. It seems that the library will use %20. It seems that the spec says to use %20, and that encodeURIComponent produces a %20, though I have seen + used around town.


Anyway. Another note. The article mentions using:


['page', 'sidebar', 'content'].each(Element.hide) // New way; 1.5-compatible


The docs, however, suggest using:


$('item1', 'item2', 'item3').invoke('hide');


Happy coding!


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: