Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to create plugin in wordpress?

wordpresswp-contentpluginsfirstplugin.php                                 Best Method <?php/** * Plugin Name: My First Plugin * Plugin URI: http://www.mywebsite.com/my-first-plugin * Description: The

Read More »

How to use search ajax in wordpress?

search ajax in wordpress     Use in html file  <html> <head> <style> .sec { width: 223px; height: 41px; border: 1px solid #54595f; margin-bottom:4px; } </style> <script src=”<?php echo plugin_dir_url(__FILE__);?>js/jquery.min.js”

Read More »

How to get Selected Option Text of HTML SELECT using jQuery?

Get Selected Option Text of HTML SELECT using jQuery <select id=”mySelect”>     <option value=”1″>hello</option>     <option value=”2″>bro</option> </select> <input type=”button” id=”test“ value = “test“ /> <script type=”text/javascript”>     $(“#test”).live(“click”, function () {                  var selectedText = $(“#mySelect option:selected”).html();         alert(selectedText);     }); </script>

Read More »

How to get warning when exit browser without saving?

Get warning when exit browser without saving <script> jQuery(document).ready(function($){ $(window).unbind(‘beforeunload’); $(“input[type=’submit’]”).click(function(){      $(window).unbind(‘beforeunload’); }); $(“input”).on(“change paste keyup”, function() {   $(window).bind(‘beforeunload’, function(){ return ‘Are you sure you want to

Read More »