Posts under Javascripts

How to delete table row using jQuery

advertisement

jqueryI just found out that i’ve been searching for how to delete table row using jquery for many times. Although i manage to find the answer each time, it seems can’t remember the function. So this post will be one of my notes to remind me about this!

To delete table row in jQuery, try the code below:-

Continue reading How to delete table row using jQuery »

jQuery: disable autoscrolling to top when click on anchor

advertisement

jqueryIf u r building website with jQuery, it’s common if the browser auto scroll to top when user click on anchor element. This happen to me many times and i always forget how to disable the auto scrolling. Thus this post is being created for my own reference and for other developer ๐Ÿ™‚

To disable autoscrolling to top when user click on anchor element, follow the steps below:

Continue reading jQuery: disable autoscrolling to top when click on anchor »

WordPress: How to open rss links in new window?

advertisement

wordpressBy default, WordPress RSS widget doesn’t open new window when user click on the link. I’ve been searching for the solution for quite a while and most of the solution refer to editing the wordpress core file (wp-includes/default-widgets.php). Editing core file are not a permanent solution, whenever there is wordpress update, it will write off your modification. At the end, i decided to use jQuery to solve the problem.

To open WordPress rss link in new window, follow the steps below:-

Continue reading WordPress: How to open rss links in new window? »