[whatwg] <a onlyreplace>
scott.gonzalez at gmail.com
Sun Oct 18 09:40:33 PDT 2009
On Sun, Oct 18, 2009 at 12:28 PM, Tab Atkins Jr. <jackalmage at gmail.com>wrote:
> Well, the point is that this should generally act as just an
> optimization of normal navigation. Clicking on <a href=foo
> onlyreplace=bar> should give you the same result as clicking on <a
> href=foo>, just without the overall page getting flushed. So the
> address should update to "http://example.com/foo", etc.
I've only been partially following this thread, so this may have been
answered previously. Is this an accurate summary of what you're thinking of?
Clicking <a href="foo"> and <a href="foo" onlyreplace="bar"> would send the
exact same headers to the server with the exception of a single extra header
for the @onlyreplace version?
In the case of @onlyreplace, would the #bar element end up being replaced,
or just its content? Would the server be expected to reply with <div
id="bar">...</dv> or just what would would become bar.innerHTML?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg