Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 30th, 2004, 12:53 PM
Authorized User
Join Date: Nov 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts

i'm facing a problem with the client side time calculation.
i must calculate two different time hours and minutes to get the total time
for example from 12:00 till 15:00 the result must be 3:00
how can i integrate a javascript function that make this job in my asp.net application
the from must be runat server "runat = server"


Georges M. Kaddoum

Georges M. Kaddoum
Old December 1st, 2004, 01:29 AM
Friend of Wrox
Join Date: Oct 2004
Posts: 553
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to vinod_yadav1919 Send a message via Yahoo to vinod_yadav1919

Hii gmk51080
Are you performing this calculation on client side ?
if yes then put a hidden label,and assign your calculated value to this label using javascript,since this label is runat=server ,u can access this label on the server side too :)
Hope this will help you

Cheers :)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is client-side validation in ASP.NET 2.0 possible? jacob ASP.NET 2.0 Basics 6 April 10th, 2007 05:07 AM
VBScript for Client-side controls in ASP.net cJeffreywang ASP.NET 1.0 and 1.1 Professional 1 March 22nd, 2007 08:02 PM
Print file at client side in asp.net manish.sharma04 ASP.NET 2.0 Basics 0 April 4th, 2006 08:46 AM
client side time calculation in asp.net gmk51080 Javascript 0 November 30th, 2004 04:07 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.