"micchy" <mi****@yahoo.com> wrote in message
news:bf**************************@posting.google.c om...
I'd like to know if 'view-source' in javascript can work
without reloading the page. (or not calling the page again,
just as I right-click in IE)
There is no "view-source" in JavaScript so what you are doing must be
some scripted attempt to view some source or another. But without seeing
how you are going about this it is impossible to see why it is reloading
the page or how it could be done differently to avoid that.
The wild speculation would be that it is the usually failing to return
false from the code within an onclick attribute of a line with a "#"
HREF.
Richard.