Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $.ajaxSetup({ cache: false });
- function removeTalent(talentid) {
- var strData = {};
- strData.COMMAND = 'removeFromCart';
- strData.talentid = talentid;
- strData.ie = Math.floor(Math.random() * 101);
- // alert(talentid);
- $.post("/viewCart.aspx", strData);
- alert("pre jquery click");
- // remove talent from page
- $('#remove_' + talentid).click(function() {
- alert("post jquery click");
- $("#"+talentid).fadeOut("slow", function() {
- // animation complete
- });
- });
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement