Given you posted in a Javascript forum - I don't see what relevance the mention of JSP has at all. There are so many things you haven't bothered to mention in your question (please consider more useful questions in the future)... the best I can come up with is to suggest you look at a site like
Thank you for the link. How come I didn't see this link when I google it? Anyways, I like this one, Popup Calendar IE5+ Opr7+, a lot but it won't work with FF. This one, Xin's Popup Calendar FF1+ IE5+ Opr7+, will work for bot IE & FF but it doesn't DIV. Well, thank you for your help anyway. Let try me to search for some more.
What about Calendar Popup by Matt Kruse ? Seems to work in Mozillas, Opera, Safari and Explorer and can show the calendar both in pop-up and [tt]div[/tt].
Thank you Feherke. I did try out Matt Kruse's examples. They work great with ASP and Dynamic web project JSP but for some reasons they won't work with my JSF portlets.
Whether you use ASP, JSP, JSF portlets, or PHP - the web is really just HTML. Those server side languages just get translated to create plain old HTML for the client. So I would say that you can get Matt Kruse's scripts to work if you find the appropriate way to include the .js files. The including seems to be the area that most users of off the shelf scripts have difficulty with.
Good luck.
Einstein47 For best results: hand wash in cold, tumble dry low. For not so good results: drag through puddles, pound on rocks, air dry on tree branch.
[[]Starbase47.com]
Thank you for your help. That's exactly what I thought too.
And yes, I'm including the script in my jsp. Here is the problem: there is no attribute "name" in my form or any form's element. Portlet use "id" not "name". I've tried to replace the document.formname.elementname with document.getElementById('id') or document.getElementById('formId:fieldId') without success. I have tri 5 different example and all the error I got are related to my input text field, saying that my text field is undefined, not accessible .....
I see what you mean - yeah, most of Matt Kruse's scripts say you need both the ID and name attributes set. Can you force the portlet to produce the name attribute too? I don't know if you can add the name attribute to an existing element.
Einstein47 For best results: hand wash in cold, tumble dry low. For not so good results: drag through puddles, pound on rocks, air dry on tree branch.
[[]Starbase47.com]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.