1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
var SyncleonAJAX = /** * Initializes the class, and sets properties. */ thisurl = url; thislist = $'todo'; thisdetails = $'todo-details'; /** * Attaches the event to the list. */ thislistaddEvent'change'thisgetDetailsbindthis; /** * Retrieves the data from the Joomla model using a HTTP call. */ var id = thislistgetProperty'value'; var details = thisdetails; var request = thisurl + "&id=" + id detailssetHTMLtodobody; send; ; |

