Welcome Guest, Not a member yet? Register   Sign In
jquery drag and drop
#5

[eluser]D R Upton[/eluser]
Thanks very much, but I just can't get this to work.
The main problem seems to be that the 'save-risks' button doesn't communicate to the code unless I dechain it and name your anonymous function and put an 'onclick='functionname' in the button definition - and then the other things don't work.
I assume I'm laying out the jQuery stuff wrongly, so can I ask some idiot questions?
1. where do I put the jquery code
- <head> section (which means in one of my CI views)
- or between [removed] tags in the <body>, which could be in a model or a view
- if the latter does it matter if it's before or after the button definition
2. how do I set up the button so your code can see it? (I've tried
<INPUT TYPE='button' id='save-risks' class='save-risks' name='save-risks' value='click me'> which produces a button that does nothing when clicked.


Messages In This Thread
jquery drag and drop - by El Forum - 10-24-2008, 01:33 PM
jquery drag and drop - by El Forum - 10-24-2008, 04:57 PM
jquery drag and drop - by El Forum - 11-16-2008, 11:35 AM
jquery drag and drop - by El Forum - 11-16-2008, 05:23 PM
jquery drag and drop - by El Forum - 11-21-2008, 09:06 AM
jquery drag and drop - by El Forum - 11-21-2008, 09:12 AM
jquery drag and drop - by El Forum - 11-21-2008, 09:48 AM
jquery drag and drop - by El Forum - 11-21-2008, 09:55 AM
jquery drag and drop - by El Forum - 11-21-2008, 10:16 AM
jquery drag and drop - by El Forum - 07-07-2009, 07:38 AM
jquery drag and drop - by El Forum - 07-09-2009, 01:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB