Jump to content

Getting Date Value From Calender Object


toreachdeepak
 Share

Recommended Posts

Hi,The below code displays the calender with the date on the computer on which web page is executing. But if we select the desired date how does the desired date is sent with POST/GET Data.Best RegardsDeepak Bhatia=============================================================================<html><body><h2>Calendar Object</h2><object width="100%" height="80%"classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02"> <param name="BackColor" value="14544622"> <param name="DayLength" value="1"></object></body></html>============================================================================

Link to comment
Share on other sites

The kind of objects that go inside <object> tags are not recognized as HTML DOM objects in the usual sense, and they are not recognized as form input elements. If you want to send the object's data from within a form, you will have to extract the data from your object using the object's Javascript API and then insert it into a form element. An input type='hidden' would be the usual way.OR you could use HTML select/option elements instead of your calendar object. Their data would get Posted automatically as part of the form that contains them. You would need an input for the month, the date, and the year.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...