Hey all,
I am trying to find a way using jquery without cookies to display a block and click it to hide() and not show again.
It is a temporary under construction div on my page.
Is there anyway to click it to close, which is easy enough using jQuery, then not have it load again? For it won't on the other pages?
Thanks,
Ryan
...
I'm currently working on a jQuery plugin and I'm wondering if it would be possible to have the plugin listen for events rather than being triggered by events.
So instead of this:
$('#element_id').mouseover(function() {
$(this).plugin();
});
$('#element_id').mouseout(function() {
$(this).pluginHide();
});
I want to try to do ...
I am using gravatar to load avatars for each user that posts a story on a page. I also am using jquery to round the corners of some span elements on the page. Unfortunately, it looks like grabbing the avatars from gravatar occurs before the jquery effects are applied (Without the gravatar code the elements are immediately rounded) so the...
How to integrate JQuery Intellisense support in VS 2005
...
I need to ensure that an application I am developing is accessable and also works with JavaScript turned off. I just need a pointer to assist with the following.
I had 3 'chained' select boxes and I wanted JavaScript enabled clients to have a nice Ajax experience. I can easily write the required functionality to populate the chained box...
My current code looks like this, how can I pass my array to the controller and what kind of parameters must my controller action accept?
function getplaceholders() {
var placeholders = $('.ui-sortable');
var result = new Array();
placeholders.each(function() {
var ph = $(this).attr('id');
var sections = $(thi...
I'd like to have some of the scriptmanager features in the new Asp.net MVC model
1- Script combining
2- Resolving different paths for external javascipt files
3- Minify and Gzip Compression
Here is what I found but not sure is the best way for mvc approach.
In general what is the your approach to deal with javascript code in the MVC...
I want to make a page so I can select filters in a "jquery popup", but I don't know how to receive the results.
Suppose I have a page with a ListView, and I want to select filters for it (perhaps with multiple selection from a list), so I make a different ASPX and open it using jquery (actually jqModal) via ajax, the user selects the fi...
if i have :
<div class="carBig"></div>
and
<div class="car"></div>
and $(".car").size();
i get 2 items ..
...
I am using jQuery to invoke page methods for my AJAX calls using $.Ajax. This works very well, and is very lightweight. However, I have noticed that when an exception is thrown from the .NET code, Elmah just logs it as a File Not Found exception, or will not log anything at all, rather than logging the actual exception that was thrown. I...
i'm currently using jQuery and am looking for a way to slide an image left as a new image slides left into its place.
specifically, i have a static image of an iphone. when i click a link, i need the current image displaying on the iphone's image viewer to slide out to the left as the new image slides in from the right. oftentimes the...
I'd like to hide a div when user click anywhere on the page outside of that div. How can I do that using raw javascript or jQuery?
...
This only happens with IE (all versions), on line 1120 in
jquery-1.2.6.js I get the following error:
Line 1120:
Invalid Property Value
The line in the js file is the following:
elem[name] = value;
It is inside attr: function( elem, name, value )
Does anybody have a problem similar to this?
...
This is probably a simple question, and I'm slightly embarrassed to ask it, but I've been working with this chunk of JavaScript ad code for a while and it's bothered me that it's never really made sense to me and is probably out dated now with modern browsers. My question is, do we need to check for browser types still, and what is that ...
I have a site that I am currently working on in ASP.NET 2.0 using the usual WebForm stuff and ASP.NET AJAX 1.0. Is it possible to bind an event to a dynamically created control after the Page.Load event?
I have a table <td> element that I am dynamically creating similarly to this code:
' Create Link Button
lnk.ID = String.Format("lnkD...
Hello everyone,
I'm attempting at creating a menu from a table using the Suckerfish css menu and Jquery. I'm using this as my reference: Suckerfish menu with ASP.NET and JQuery and I have it working with manually supplied links (much like in the article).
Where I'm having issues is writing the recursive function to get the menu items f...
I have a page with a number of ListViews that I want users to be able to sort and page through. Rather than postback and rebind the entire page each time, I would like to do it via jQuery/AJAX selectively for the control in question. I am comfortable making the client-side call to a WebMethod in my page - my question is how do I get the ...
In jQuery, how do you select the <a> which href is pointing to the current URL
For example:
URL = http://server/dir/script.aspx?id=1
I want to select this <a>
<a href="/dir/script.aspx">...</a>
I tried this but it doesn't work:
var url = window.location.href;
$('#ulTopMenu a["'+url+'"*=href]').addClass("selected");
Probably wrong s...
I can't seem to get it to work. It works fine in Firefox, but in IE nothing happens when the droppable has an item held over it. I tried using the hoverClass, and also tried just manually changing the class in "over" and "out" events. Both methods work in Firefox, but not IE. Is there a work-around for IE?
over: function(ev, ui) {
$(t...
I want to do this, but haven't figured it quite out yet...
$(document).ready(function() {
$("a.whateverclass").click(function() {
$("div.whateverclass").show();
return false;
});
Basically when a link with a certain class is clicked all divs with that class are shown. The classes can be any ...