or


I have an asp.net page where I have declared static id's in the page declaration
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Test.aspx.vb"
Inherits="Test" ClientIDMode="Static" %>
$(window).load(function(){
var combo = $('#cmb_Married');
if(combo.get_selectedItem().get_Text() == "Yes") {
$('#div_Married').show("slow");
}
}I have tried changing first line to var combo = $find("<%= cmb_Married.ClientID %>");
but still get the same error.