Monday 15 February 2010

jsp - jQuery timepicker invoke on img click -


For now the jQuery timepicker component is implemented. Click on input.

This is the timepiece configured:

  & lt; Script & gt; ... oScript.text + = "var timid = '#' + '& lt; Portlet: namespace / & gt; + '_time'; "; OScript.text + = "$ j (timeID) .timePicker ({startTime: new date (0, 0, 0, 0, 0), step: 30});"; ... & lt; / Script & gt;  

This is a JSP part for Timeplicor (input with a specific ID):

    

So it works fine.

If click on IMG, then this JS error is unhappy, this ID is not "defined", but the ID is equally identical as the rendered HTML

img The code for the tag has been modified so that to open Timepecker:

    

tried ID with quote, same result.

Is it absolutely possible for Timepicker? I mean start with it onClick.

I do not want to answer anymore.

He needs to pay attention to the input just by clicking on the image:

   


No comments:

Post a Comment