Posts

Showing posts from February, 2016

Featured Post

Smart Product designer

Image
download and purchase link: https://alkanyx.com/item/49/Smart+Product+designer

Live preview : http://smartproductdesigner.000webhostapp.com/

Smart Product Designer is a  tool to create your own product and get directly from your website. It is well documented, very easy to customize and use. It is build using most advance technologies including javascript, jQuery and html5.
Features Choose different product from collectionAdd custom texts to product.Change text colorChange the size and font of the TextLet the user drag, move or remove elementsAdd images to product selected from art gallery or browse it from systemDesign both frontside and back-sideShows preview while designingDownload designVery easy to customize and useHere is the purchase link : https://alkanyx.com/item/49/Smart+Product+designer

Jquery code to check Radio Button on Text box focus

Here is sample code of jquery to select any radio button on text box focus. 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"></script>
<script>
$("#txtWidth").focusin(function () {
    $("#rbCustom").prop('checked', true);
});
</script>


<input type="radio" id="rbDefault" name="ResizeValue" value="DefaultSize" checked="checked" />Default<br />
<input type="radio" id="rbCustom" name="ResizeValue" value="CustomSize" />Custom  
<input id="txtWidth" type="text" />

Here txtWidth is a text box and rbCustom is a radio button. By default "rbDefault" radio button is checked. Using above script the "rbCustom" will get checked as soon as txtWidth text box is focused.