
January 25th, 2013, 04:59 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 3
Time spent in forums: 15 m 32 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by NotionCommotion Martin,
Your question relates to jQuery, and should be posted in the JavaScript forum. If you want to be okay with JavaScript pretty quickly, I recommend looking into jQuery.
Regardless, the script looks for the <button id="del" type="submit"> element, makes it pretty using jQueryUI's button method, adds the ui-priority-secondary class to it, and then removes class tdbLinkdel from the parent <span class="tdbLinkdel">. |
This is a great move forward for a javascript novice like me!
Forgive me I am still unclear how the script actually does the deletion of shopping basket data, and from where, in the
surrounding .php. There must be a reference to an external function or something which I still cannot find. Any further guidance would be much appreciated!
Best regards
Martin
|