var str = "string";
alert(typeof(str)); //output: string
alert(typeof(str)); //output: string
Html, JAVA,DOTNET,Javascript, PHP, and JQuery Scripts and its issues with solutions
$(document).ready(function () {
//called when key is pressed in textbox
$("#quantity").keypress(function (e) {
//if the letter is not digit then display error and don't type anything
if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
//display error message
$("#errmsg").html("Digits Only").show().fadeOut("slow");
return false;
}
});
});
Number :
<input type="text" name="quantity" id="quantity" /> <span id="errmsg"></span>
var chkArray = [];
$(".chk:checked").each(function() {
chkArray.push($(this).val());
});
var selected;
selected = chkArray.join(',') + ",";
if(selected.length > 1){
alert("You have selected " + selected);
}else{
alert("Please at least one of the checkbox");
}
Windows Vista and Windows 7
Click Start.
Select Control Panel.
Click Uninstall a program.
Remove TV Wizard.
Windows XP
Click Start.
Select Control Panel.
Click Add or Remove Programs.
Uninstall the adware program.
Windows 8
Move the mouse pointer do the lower-left corner of the screen.
Right-click.
Select Control Panel.
Click Uninstall a program.
Remove the unwanted program.
<script src="https://www.google.com/jsapi" type="text/javascript">
</script>
<script type="text/javascript">
google.load("elements", "1", { packages: "transliteration" });
function onLoad() {
var options = {
sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage: [google.elements.transliteration.LanguageCode.TAMIL],
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
var control = new google.elements.transliteration.TransliterationControl(options);
control.makeTransliteratable(['transliterateTextarea']);
}
google.setOnLoadCallback(onLoad);
</script>
<div class="Google-transliterate-Way2blogging">
Type in Hindi (Press Ctrl+g to toggle between English and Tamil)<br>
<textarea id="transliterateTextarea" style="width:600px;height:200px;resize:none;">
</textarea>
<span style="font-weight:bold;font-size:10px;float:right;margin:5px;">
</span>
</div>
// $ds contains the total number of bytes available on "/"
$ds = disk_total_space("/");
// On Windows:
$ds = disk_total_space("C:");
$ds = disk_total_space("D:");
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Feet/Inches ⇄...