Using javascript or jQuery function split() for explode string to array Example: if(jQuery.trim(jQuery(“#custom-email-input”).val()) != ”) { var sCustomemails = jQuery(“#custom-email-input”).val().split(‘,’); alert(sCustomemails ); }
Kill a jQuery function using unbind()
Using The following jquery function to kill a function(unbind/bind) Syntax: jQuery(this).unbind(‘<function name>’); Example: jQuery(“#message_send”).live(“click”, function(){ jQuery(this).unbind(‘autosave’); });
Ubuntu command for access another system using ssh
Ubuntu command for access another system is SSH <username>@<ip> Example: sudo ssh smarttips@192.168.1.25 Type the above command in Terminal .You should be the administrator of this system and also know the password of another system Then system will ask the root password and password of the system trying to connect. Give that password and you…
How to use custom font in css or in website
Website user interface has a major role in frontend interaction . Web designer Styling the website page by writing styles and save in a file with extension CSS . CSS is the short form of Cascade Style Sheet. For making web page more interesting designers using external fonts. They use the css rule @font-face for adding custom font. Steps: 1.Download the font…
How to Download / Save Facebook Albums or photos
Facebook is social media website popular in now days. Facebook is used to share and store photos of differnt types known as facebook albums. Thousands of photos can store in facebook. We can see the friends album photos and also possible to share if it is alloweded. The people can easily download single photos but…
