After running some usability tests, I found that participants opened a jQuery Lightbox to view larger images. Then rather than clicking the 'close' button they simply hit the browser back button. That sends them to the last page rather than closing the lightbox.
Does anyone know a jQuery photo gallery that supports the described back bu...
I would like to add sound alerts to a web application. I believe that Flash is the best way to do this to support all major browsers, ie. IE, Firefox, Chrome, Safari. Chrome does not seem to work with the non-flash sound solutions.
I have been using jQuery and would like to use the jQuery Sound plug-in. An example is shown at jQuery S...
Heres my page
http://tinyurl.com/7am4lo
If you find the red 'Special Offer' box, you'll see it expands when its header is clicked. There is another identical box at the bottom of the page. If you click that one too, you'll see my problem. The click event is firing both boxes. This was an oversight. My problem is that I cannot seem to g...
I have some AJAX work that brings across an additional form element that I don't need in the DOM. I don't have the ability to remove it server side, so I'm looking for some jQuery or classic JavaScript that will allow me to capture all the child elements of the form, remove the form I don't need and finally re-append the child elements ...
I'm using the Sortable component of jQuery UI. The callbacks don't seem to work at all, even with this minimalistic test:
<script type="text/javascript" src="jquery-1.3.js"></script>
<script type="text/javascript" src="jquery-ui-personalized-1.6rc4.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#outer"...
I have the following JQuery code which does similar functionality like Stackoverflow where the user clicks on the comment link and it displays the comments or in this case replies to a member's status update, generally it works great except when a member posts a new status update which updates the list of status updates using an ajax asy...
I have two connected sortable lists, but each one is in a larger block element. Something like:
<div class="items_box">
<ul class="items">
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ul>
</div>
<div class="items_box">
<ul class="items">
<li>Item</li>
<li>Item</li>
<li>Item</l...
I currently rely on anchor tags to perform AJAX requests on my web application (using jQuery). For example:
<script type="text/javascript">
$(document).ready(function() {
$("#test").click(function() {
// Perform AJAX call and manipulate the DOM
});
});
<a id="test" href="">Click me!</a>
</script...
I'm trying to add a row to a table and have that row slide into view, however the slidedown function seems to be adding a display:block style to the table row which messes up the layout.
Any ideas how to work around this?
Here's the code:
$.get('/some_url',{'val1':id},
function(data){
var row = $('#detailed_edit_row'); ...
I have a WCF service that takes as a parameter a string value "name". This service interface looks like this...
[ServiceContract(Name = "ContactLookup", Namespace = "Search")]
public interface IAjaxResultSearcherService
{
[OperationContract]
[WebGet(RequestFormat = WebMessageFormat.Json)]
Result[] SearchResultsWithNameLike(s...
I am using HTML, and I'd like to hide the SCRIPT tag from the user's view.
When the user views the page source, the definitions should not appear. How do I accomplish this?
Example
<script type="text/javascript" src="My1.js"></script>
<script type="text/javascript" src="My2.js"></script>
<script type="text/javascript" src="jq...
What's a good time picker for jquery or standalone js? I would like something like google uses in their calendar where it has a drop down of common times in 15min intervals or lets you manually type in a time and it validates it.
...
Hi,
On the interface.js website (http://interface.eyecon.ro/) they propose to download interface.js with jquery 1.1.2. I would like to know if interface.js is still compliant with the new version of jquery and if there will be new release of this library.
I had some trouble to use jquery 1.2.x with interface 1.2, and using jquery 1.1.4...
I have a rather frustrating problem where the maximum number of available DatePicker's on one page seems to be twenty. I can't find any documentation referring to this.
If I had a page with 100 text boxes, and did the following:
$(document).ready(function() {
$(".datepicker").datepicker({ duration: '', dateFormat: 'dd/mm/yy' });
}...
I have this unordered list
<ul>
<li>two</li>
<li>three</li>
</ul>
Is there a way I can prepend to the unordered list so that it ends up like this?
<ul>
<li>ONE</li>
<li>two</li>
<li>three</li>
</ul>
Notice the "ONE" is added to the FRONT/TOP of the list.
...
I'm trying to find the index of a row in a table. I'm trying to use the following code, but I seem to get an index of -1.
$(document).ready(function()
{
$("tr").click(function (){
var index = $("table").index($(this));
$("span").text("That was row index #" + index);
});
});
With html that looks like this;
<table>
<t...
I am using asp.net MVC to develop an application that will have ajax interactions. I have JsonResult methods in the controller returning my json serialized data. So for example when a request is made to http://somesite.com/findwidgets/ mvc serializes the data as json and sends it back.
I am using jQuery on the client side to handle the...
I have a page that is pulling in via an iframe a page of html content from a pre-existing content management system, whose content I can not directly change. I want to use jquery to alter some of the links and button locations dynamically.
For links within the page I was able to change the href attr values of
<a href="/content.asp">mo...
Using jQuery, is there a way to disable the click sound in IE that happens when you post?
...
Is there a built in method or defacto default plugin that will let you automatically assign an unique ID to an element in jQuery, or do you need to implement something like this yourself? I'm looking for the jQuery equivalent to Prototype's identify method
Here's an example. I have some HTML structure on a page that looks like this
<...