You can delete scrap using javascript. The following java code will delete the scrap.
javascript: var rb = document.getElementById('b6²).onclick ; var strrb = rb.toString(); var rbparts = strrb.split('{'); var rbfinal = rbparts[1].split(’}') ; location.href=javascript: + rbfinal[0];
The above code will delete first scrap from your scrapbook. For 2nd scrap replace b6² by b9² , For 3rd scrap replace b6² by b12² ans so on.
Same code can be used to delete scraps from others scrapbook sent by you. In this case you need to replace b6² by b3² for 1st one, b4² for 2nd one and so on
Saturday, April 12, 2008
Delete scrap using java script
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment