Forum Moderators: open
1. spidering a url discovered in javascript
2. passing PR
People have not always been precise in their language about those two different things. More and more, if googlebot sees what "might be" a url (in javacript, or a form element, or a src= attribute, etc) it will try that url to see if there's anything there to spider.
But as far as I can see, PR does not pass this way, even if the url results in a spider visit.
I don't do it to save PR, I do it because those pages were bringing me irrelevant traffic bay ranking high for terms that I don't care about.
If they are internal pages, link with JS using the pathname instead of the full URL. That way Google is less sure that it is infact an URL.