Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

var

Browser detect for IE versions
Thursday, 23 February 2012 04:38
// Browser detect for IE versions
How to get prescription for Ativan. Online Ativan and fedex. Ativan without a prescr Cheap Valium buy online. Buy Valium with cod. Cheap Valium cod free fedex.

function isIE(versionNumber) {
var detect = navigator.userAgent.toLowerCase();
if(!(navigator && navigator.userAgent && navigator.userAgent.toLowerCase)) {
return false;
} else {
if(detect.indexOf('msie') + 1) {
// browser is internet explorer
var ver = function() {
// http://msdn.microsoft.com/workshop/author/dhtml/overview/browserdetection.asp
// Returns the version of Internet Explorer or a -1
// (indicating the use of another browser).
var rv = -1; // Return value assumes failure
if (navigator.appName == 'Microsoft Internet Explorer') {
var ua = navigator.userAgent;
var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
if (re.exec(ua) != null) {
rv = parseFloat( RegExp.$1 );
}
}
return rv;
};
var valid = true;
// if the version can be found and the version is less than our version number it is invalid
if ((ver > -1) && (ver < versionNumber)) {
valid = false;
}
return valid;
} else {
return false
}
}
}



Canadian pharmacy Phentermine. Can you buy Phentermine cash on delivery. Phentermine Amoxicillin coupons. Buy cheap fedex Amoxicillin. Amoxicillin online.

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/vcyv7fHQ-lM/14769

 
Javascript to validate or compare two dates
Monday, 30 January 2012 07:14
// Javascript to validate or compare two dates


function IsValidDate() {

var dtFrom = R('<%=txtFrom.ClientId%>').value;
var dtTo = R('<%=txtTo.ClientId%>').value;
if ((dtTo == null || dtFrom == null) || (dtTo == '' || dtFrom == '') || (dtTo == undefined || dtFrom == undefined)) {
alert('Please select proper start and end date');
return false;
}

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/-8M75Xp1OvI/14539

 
verify that atleast one check box checked in the grid
Friday, 27 January 2012 11:09
// verify that atleast one check box checked in the grid



function CheckAtleastOneisChecked(checkBox) { var frm = document.forms[0]; var flag = false; var cnt = 0; for (var i = 0; i < document.forms[0].length; i++) { if (document.forms[0].elements[i].id.indexOf(checkBox) != -1) { if (document.forms[0].elements[i].checked) { flag = true cnt = cnt + 1; } } } if (flag == false) { alert('Atleast one check box should be checked.') return false }

}

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/JxxbnShP2uw/14489

 
Javascript for verifying that atmost single record is selected in the grid
Friday, 27 January 2012 11:02
// Javascript for verifying that atmost single record is selected in the grid



function ChecksingleSelected(checkBox) {

var frm = document.forms[0];
var flag = false;
var cnt = 0;

for (var i = 0; i < document.forms[0].length; i++) {
if (document.forms[0].elements[i].id.indexOf(checkBox) != -1) {
if (document.forms[0].elements[i].checked) {
flag = true
cnt = cnt + 1;
}
}
}
if (cnt > 1) {

alert('Only record can be seleccte/checked.');
return false;
}

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/xXSwjmM3MZ8/14487

 
Javascript to convert date to mm/dd/yyyy format
Friday, 27 January 2012 10:59
// Javascript to convert date to mm/dd/yyyy format



function GetFormattedDate() {
var todayTime = new Date();
var month = format(todayTime .getMonth() + 1);
var day = format(todayTime .getDate());
var year = format(todayTime .getFullYear());
return month + "/" + day + "/" + year;
}

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/d2nB0fBa8rs/14485

 
Start
Prev
1


Page 1 of 2
Taxonomy by Zaragoza Online