I am thinking of creating a refresh button because auto reload of webpage 
might froze webpage until data is extracted from server to client and this 
my annoy users.

Any suggestion or sample code are welcome. 



On Tuesday, February 12, 2013 9:14:07 AM UTC+11, ryandesign wrote:
>
>
> On Feb 10, 2013, at 19:40, Suraj Singh Thapa wrote: 
>
> > As my requirement is, 
> > 
> >   --> When a user click refresh button I want this function to execute 
> and get the data and load it on index page.   
> >   --> But I do not want, process to send the whole page back to server. 
> So that user don't have to wait until above function returns the data back 
> to client. 
>
> If we're talking about the browser's refresh button, then you have no 
> influence over what will happen: the browser *will* re-issue the GET 
> request for the URL in the address bar, and your server will have to 
> re-deliver the entire contents. 
>
> If you're talking about a button within your web page, then you can of 
> course program it to do whatever you want. 
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to