I am trying to disable ASP.Net Validator such that its disabled on postback.
I am disabling the validator on client side using
$('.c_MyValidator').each(function() {
ValidatorEnable(document.getElementById($(this).attr('id')), false);
});
but when the page postbacks, my page is still invalid.
I am in UserControl (.ascx) so no ov...
in jquery is there a way to distinguish left and right clicks ?
...
I have a dictionary (keys are integers, values are float). I would now ask the dictionary for the value of the key that is > than the given number but < than the next greater key.
Example:
dict = {100: 0.0035, 150: 0.0024, 200: 0.0019}.
i give 122, it should give me 0.0035
i give 333, it should give me 0.0019
i give 200, it should ...
Hi,
I have a table on near the bottom of the page, which I want to move all the way to the top to hug the top of the browser (ie/ff compatible).
What's the best way to do this?
<div id="mytable"><table id="t1"><tr><td>hello</td></tr></table></div>
...
sorry guys but why would s3slider plugin for jquery throw this error when I followed everything to the letter. here is the error
$("#s3slider").s3slider is not a function
here is the code for which the s3slider works on:
<div id="homepics">
<div id="s3slider">
<ul id="sliderContent">
<li class="s3s...
i found a spotlight plugin for Jquery, but it is not functional in IE.
so is there a way to make the rest of the background fade to a dark color while selected or element of focus remains the same ?
...
I've seen this done before, but I'm not sure how.
When my page loads, I want a hidden section to drop down at the top of the page (probably around 100 pixels in height). Ideally, I'd like it to shift the entire page down as well (as opposed to appearing on top of the page). At the top corner of the secret area should be a 'Close' butto...
Here
Is it a deprecated selector?
...
http://plugins.jquery.com/project/conmenu
its a plugin for right click menu..... however it has no example usages or illustration or demonstration....
like where can i include additional selector options like top.document, or parent.window.document
$.conmenu({
selector:".node",
choices:[{
label:"Edit",
action:function(div)...
Hi all:
Just a quick question... I currently have the following jQuery code with a selector in it.
var ID = "idControl"
function doesTreeViewExist()
{
if($('#' + ID).length == 0)
{
return false;
}
else
{
return true;
}
}
I was wondering how do I write the test to test the selector using QUnit? ...
I am attempting to write a user script that makes a cross domain AJAX request.
I have included jQuery inside my script using @require and everything seems to be working fine up until the point where I try to run jQuery.getJSON.
The API I am accessing supports jsonp, however I keep getting an error stating jsonp123456789 is not defined....
How can I update a variable outside of a function? For example I have this:
var max_index = 0;
//loop through the z-index's
$(".widget_container").each(function(){
if($(this).attr("z-index") > max_index){
max_index = $(this).attr("z-index") + 1;
}
});
alert(max_index);
The only problem with this is that max_index is ...
I have a table with multiple rows in each row is a select list and based on the selection (when the onchange event is fired) panels appear containing additional data below the row.I currently have code like this:
var allPnls = '.inv-dtl-comnts-add,.inv-dtl-comnts-update';
$(document).ready(function(){
hideAll();
//select a...
I was thinking to apply a filtering function on GridView by using jQuery, such as a plugin called quickSearch. I have tried to google it but what i found is, normally the quickSearch is implemented together with table. So, for gridview, how can i filter the gridview using quickSearch??
...
http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/
its a great plugin but i dont know how to edit it so that it will work in my case
i load all the js files from an iframe (it has to be this way, for my case...)
i need to access all the elements outside it.
i put the css and menu html on the document.
so within the js fil...
hello guys is there anyone know how to destory a javascript ( jquery ) function?
im using jquery "selectable" and a function call "edit" is fired on selectable "stop" event.
inside this "edit" function i has nested switch functions with a lot of "click" event.
and i have many functions within each "click" event. my problem is,
everyt...
in my header.html, i have the following jquery code.
$("*", window.parent.document).bind("contextmenu",function(e){
$("#myfmenu").show().css({
top:e.pageY+"px",
left:e.pageX+"px",
position:"absolute",
opacity: "1.0",
zIndex: "9999"
});
return false;
});
header.html is loaded via iframe in my main.html
however, w...
Hi
I tried to override HTTP request header content by using jQuery's AJAX function. It looks like this
$.ajax({
type : "POST",
url : url,
data : data,
contentType: "application/x-www-form-urlencoded;charset=big5",
beforeSend: function(xhr) {
xhr.setRequestHeader("Accept-Charset","big5");
xhr.setRequestHeader("Content-Typ...
hi,
I have below code in html.
<li class="selected" runat="server" id="lihome"><a href="/ISS/home.aspx" title="Home"><span>Home</span></a></li>
Now I want to start my tabbing from this li when my page get loaded. Please suggest how to do this.
Thanks.
Best Regards,
MS
...
hi,
"INSERT MODE"
i have check box in one "tr". and another dropdown control in another "tr"
intially dropdown control will be invisiable intially .
but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks the check box the dropdown sho...