[jQuery] Re: Iframe - adding and removing hidden form elements

2009-09-15 Thread Benster-
OK got the delete working, here is the final function: $(document).ready(function(){ $(':checkbox.addPhoto').click(function(){ if ($(this).attr('checked')) { // Add element to form

[jQuery] Iframe - adding and removing hidden form elements

2009-09-08 Thread Benster
Hi, I have a page that opens up an iframe for the user to be able to select photos. Each photo has a checkbox, and on select I add a hidden form element to the parent frame form. This all seems to work fine, but im now stuck on how to remove the form element when the checkbox is un-checked.

[jQuery] Re: Context Menu plugin - id of clicked element

2008-03-04 Thread Benster
] wrote: Benster, Im new to jquery and im struggling with hopefully a simple question! Im using theContextMenuplugin- http://www.trendskitchens.co.nz/jquery/contextmenu/ which allows you to generate a right-clickmenu. All works fine, however im now trying to pass in the id of the item

[jQuery] Context Menu plugin - id of clicked element

2008-03-02 Thread Benster
Hi, Im new to jquery and im struggling with hopefully a simple question! Im using the Context Menu plugin - http://www.trendskitchens.co.nz/jquery/contextmenu/ which allows you to generate a right-click menu. All works fine, however im now trying to pass in the id of the item that has been