simply i'm doing a test
i have a div called test and mvc action in the client controler
the view
and the controler
public string testout()
{
return DateTime.Now.ToString();
}
and i'm using jquery to update the div
$("#B1").live("click", function() {
$("#test").load("/client/testout");
return false;
});
first time a click the bottun i see the date and time in the div test second time i click the botton nothing changed
when using the jquery ui autocomplete, i would thought there would be an option to force only valid key entry based on the list. Is there anyway to not allow invalid keys so you can only enter valid items in the list?
if my list has (csharp, java, python)
i can start typing "abcds . ." and it lets me type it in. I want only valid entries to be allowed.
I've heard of Qtip, and it looks good for what I want to use. Is this the most common one? Are there any other jquery tooltip plugins that people recommend? I want to pop up a bubble with images and formatted text.
I'm trying to adjust a jquery script to my needs and encountered the following lines-
arguments.callee.eabad1be5eed94cb0232f71c2e5ce5 = function() {
_c3();
_c4();
return;
};
what is it?
I have a navbar, a ul with the id of menu that I want to turn into a dropdown menu. There are uls in each li, and each ul has the class sublist, which in the CSS has a display value of none, but with the jQuery below even though I hover over it, the ul won't show. I'm 12 and what is this?
$(document).ready(function(){
$('#menu li').hover(function(){
$('.sublist').slideDown(200);
});
});
Hey guys,
I'm using jQuery to dynamically load php pages into my page using the .load() function, so far this has been successful but if you click on various links to update the div with the .load() it starts to flicker between the new clicked page and the old one, this is pretty annoying and has anyone got a fix?
Current code:
$(document).ready(function(){
$('a').click(function() {
$('#content').load($(this).attr("href"));
return false;
});
});
Hi.
I want to validate names into forms using the Google search API and JQuery, for sure I need the JSON's responses from Google to do it.
I got this idea, but it's reliable?.
It's just an idea, but what you think about?.
Hello , i'm trying to validate credit card numbers with jQuery but i dont want to use the validation plugin , is there any other plugin for doing this?
thanks
Hello, I have a GridView and a asp:TextBox containing a Number. The
GridView also contains cells with numbers (one in each row). I want to know wether a
cell contains this number and if so, the whole row has to be removed.
I want to do this via jQuery.
I have application that brings response via Ajax and creates 5-20 new jQuery click listeners on each refresh. Both IE and mozilla browsers seem to be slowing down with usage. Can this slow down browser performance significantly. Can listeners be "released"?
I'm in the midst of writing a slideShow app (click a button, and you slide through a list of images) for jQuery, but I've run into a little bug where it will respond to the click() request even while an animation is happening. I'm using the animate() function already, so that isn't staving off the additional animation requests.
Any way to program around this?
It seems to me that jQuery doesn't seem to be written as an OOP framework, it seems too short, and not verbose enough for that. Am I right in thinking this and if it isn't written as OOP, then what methodology are they using?
I'm using the jQuery validation plugin to validate a form, and I'd like to remove the validation and submit the form if a certain link is clicked.
I am submitting form with javascript like jQuery('form#listing').submit(), so I must remove the validation rules/function with javascript.
The problem is that I can't figure out how to do this. I've tried things like jQuery('form#listing').validate({}); and jQuery('form#listing').validate = null, but with no luck.
Can someone tell me how to install this? I go here: http://api.jquery.com/browser/ and click the INSTALL NOW button. After that it says "Download and open the AIR file to begin the Installation". I have AIR installed but can't figure out where the file is for the API Browser.
I'm definitely missing something obvious...
I am trying to just add a reference to jquery in my ASP.NET project, and get this when I do: "Error updating JScript IntelliSense ... Object doesn't support this property or method."
I read that I may have to reference vsdoc, but can someone help me with this?
<div id="myDIV">
<div>
<span>
<a href="#">Seek me!</a>
</span>
</div>
</div>
How can I find a tag with myLink id using jQuery selector (not looping through children())
If I know only myDIV id
I've been searching all over the place and just don't see anyone doing it - Is it possible to have some kind of spinner/loader with a jQuery UI Autocomplete? (1.8) while data is being fetched?
Hi guys,
I wanted to create a page with a simple button which runs away from the user when he tries to click it. Lets call it the Run away button?
Is there a simple 'jQuery' snippet which will allow me to do the same?
Regards,
Karan Misra
I have this code in jquery to prevent non-numeric characters being inputted to the text field
$("#NumericField").numeric();
Now, on the text field i cant input non-numeric characters. That is OK. The problem here is if the user will paste on the text field with non numeric characters.
Is there a way/method to disable pasting if the value is non-numeric? Or is there any other approach to handle this situation that you can share?
I have a very simple bit of jQuery to retrieve my latest Tweet
$.getJSON("http://twitter.com/statuses/user_timeline/username.json?count=1",
function(data) {
$("#tweet_text").html(data[0].text);
});
This works fine on a simple HTML file on my desktop. However, once the file is accessed from my localhost (apache) no data is being returned. I was wondering if any part of Apache was blocking the request somehow? Or any other ideas?
Hi,
If I use jquery media plugin WITH swfobject 2.2 I get an 'unknown runtime error' in IE.
It works fine in FF and other browsers.
If i remove swfobject.js then the media works fine as it loads using simple object/embed tags.
But I need to use swfobject as well (for other things).
Has anybody come across this or a fix?
A.
I'm trying to set meta tags using jQuery (please don't reply that this doesn't make sense since search engines blah-blah-blah... I am loading invoking 3rd party Javascript functions that examine these vales, such as Tweetmeme and Facebook).
If I use:
$('meta[name=some-name]').attr('content', 'some value');
it does work to set the value of an existing meta tag, but does not create a meta tag if such a named one does not exist.
If you have insight or experience with this, please reply...
I have a 1024x768 image
<span class="frame">
<img alt="Image" title="Image" src="http://localhost/zapav/site/assets/questions/D41120CA-7164-11DF-A79E-F4CE462E9D80_Green_Sea_Turtle.jpg">
</span>
and the below CSS sets the image width to
.frame img{
width:425px;
}
And the jQuery code
$('.uploaded_image img').attr("width");
returns 425
How can i retrieve the actual width of the image 1024 in JavaScipt?