I'm working with a solution using JQuery that was developed and tested in IE8.
I have a user, that had "Display all websites in Compatibility View" under Tools > Compatibility View Settings. And part of the JQuery Failed.
$(document).ready(function() {
// creating named variables to represent the throbber objects to make life easier later.
var moSearchThrobber = $("#imgSearchThrobber");
var moFilterThrobber = $("#imgFilterThrobber");
//lets hide the search and filter dialogs.
$("div[id*=pnlSearch_Dialog]").hide();
$("div[id*=pnlFilter_Dialog]").hide();
// when I change the value of my drop downs in search and in filter, set the hidden field value.
$("select[name=ddlValue]").change(function() {
$(this).siblings("input:hidden").val($(this).val());
});
// If the user clicks on the Search link button.
$("a[id*=lnkSearch").click(function() {
// while we are at it turn on the search throbber
moSearchThrobber.css('visibility', 'visible');
// find the search grid and get/each through all the rows.
$("table[id*=grdSearch]").find("tr").each(function() {
The hide functions work... but the click method fails to fire...
I've been looking at trying to force it into IE8 and turning off compatibility mode via the meta tag... but that feels dirty to me. Are there any other options at this point to make jquery work the same across all 3 "versions" of IE8?