Results 1 to 2 of 2

Thread: Thickbox, jquery and prototype

  1. #1
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thickbox, jquery and prototype

    hello,

    i trying to solve one problem.
    shortly : how can i send ajax request in thickbox modal window ? (it is displayed article in thickbox and i want to add comment with ajac - prototype)

    long story :
    On my webpage i am using jquery with thickbox to show some content in thickbox (when i click on link, page is displayed in thickbox) ... for example, i have list of articles and when i click on one of them, article is showed in thickbox modal window

    everithing works fine, when i wanted to add function to article, there starts problems - becouse i want to handle adding comment with ajax - prototype handle this

    when i open article in new page (not with thickbox) ajax and prototype work fine, adding comment woks fine

    so my question about problem : when open article in thickbox (as i describe, how its works) and i add comment - nothing happens. So i cant send ajax request in thickbox ?
    (i mamage to jquery and prototype works together - with jquery nocolision and others...so this is not problem...realy i just want to know, how to send ajax request in thickbox with prototype - becouse normaly prototype works...)

  2. #2
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i have testet something and i have discovered this :
    when i load page, thickbox and prototype (ajax request) works fine....everithing is okey
    when i made some ajax request - everything is ok still
    but when i activate thickbox (click on link to open thickbox modal window), prototype is disabled in modal and even in Main window
    so, after thickbox activation it disable prototype - dont know why and how...

    is there someway hot to fix it ????

    Quote Originally Posted by senty View Post
    hello,

    i trying to solve one problem.
    shortly : how can i send ajax request in thickbox modal window ? (it is displayed article in thickbox and i want to add comment with ajac - prototype)

    long story :
    On my webpage i am using jquery with thickbox to show some content in thickbox (when i click on link, page is displayed in thickbox) ... for example, i have list of articles and when i click on one of them, article is showed in thickbox modal window

    everithing works fine, when i wanted to add function to article, there starts problems - becouse i want to handle adding comment with ajax - prototype handle this

    when i open article in new page (not with thickbox) ajax and prototype work fine, adding comment woks fine

    so my question about problem : when open article in thickbox (as i describe, how its works) and i add comment - nothing happens. So i cant send ajax request in thickbox ?
    (i mamage to jquery and prototype works together - with jquery nocolision and others...so this is not problem...realy i just want to know, how to send ajax request in thickbox with prototype - becouse normaly prototype works...)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •