Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: Form in Preview Element..

Form in Preview Element.. 14 years 10 months ago #4

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
I want to create a form when the user clicks on an event. I tried giving the form and it does show up.

However, when I do a getElementById, I can't get it..

While debugging further, I noticed that there are 2 forms in the document.

How do I work with the form I want???

Please Log in to join the conversation.


Team Web2Cal.

Re:Form in Preview Element.. 14 years 10 months ago #5

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
I had a similar problem.

It appears that calendar creates a seperate instance within the preview element.


I solved it by prefixing my container ID.

Example:
<div id="container">
</div>

To access the element,
i used jquery("#container myformelement")


Hope this helps!

Please Log in to join the conversation.


Team Web2Cal.

Re:Form in Preview Element.. 14 years 10 months ago #6

  • admin
  • admin's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Thanks!, that Helped.

Please Log in to join the conversation.


Team Web2Cal.
  • Page:
  • 1
Time to create page: 0.772 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US