On click event of a button I am dynamically creating a form. Form has
a calendar date picker in it. Can I some how use turbogears
calendarDatePicker widget in this case?
Regards
Roopesh
--~--~-~--~~~---~--~~
You received this message because you are subscribed
It looks like everything should work properly. Have you tried including this
line on your page yet?
script type='text/javascript' src='DragAndDrop.js'/script
What errors do you get in the js console?
--~--~-~--~~~---~--~~
You received this message because you are
I have. I've checked to see if the files are loading and everything,
and they are. I've also added everything from MochiKit to the page
header, including DragAndDrop.js. Still nothing.
As for the error:
Error: dojo is not defined
Source File: /__package__.js
Line: 1
This could be the issue,
Okay, after testing a whole bunch of things the code doesn't seem to
work possibly because of:
nested divs?
images being included in the divs?
I tried dumping all my css styles except for .draggable and it still
doesn't work. Also I made a little red box that DOES work with this
code:
div
Got it. The images are preventing the box from dragging. Now I know
there has to be some sort of solution to this because I know I've seen
folks use this code with images. Any know how. Alas, I don't know
javascript.
On Feb 23, 12:31 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Okay, after
I have an object:
function myObject(e){
connect(document, 'onclick', this.someFunction);
}
myObject.prototype.someFunction = *STUFF*
The object is initialized as the onClick action of an HTML Input
element:
connect(myInput, 'onclick', function(e){var myObjectInstance =