Background
I built a site for a film-production client.
They needed a way to demo their showreels to the public and agreed upon a modal <iframe> approach (using jQuery and Fancybox) to showing their reels, all streamed via a third party provider.
You can see the functionality in action here: http://groundglass.co.za/directors/ by click...
So I'm creating a javascript menu and trying to implement an onblur event for when a user clicks something outside the menu so it will collaspe.
To implement this, I simply attached an event to the window and looked for any clicks and if it nor its parents elements didn't meet a certain criteria then I would close the menu.
This works ...
Hey all,
I'm not sure if you've noticed this, but it takes the first image of the cycle plugin way longer to change than the rest of the slides.
I was thinking at first it was loading time, but it seems too significant.
I'm wondering if there is a default option that I'm missing or a workaround.
Thanks!
Matt Mueller
...
One of my pages has about 5 jQuery AJAX calls that fire off as soon as the page loads. I know that I can track each AJAX call individually and know when it is complete, but is there any way to track them as a whole? This way, I'll know when the last AJAX call is complete and I can signal a UI change.
I guess I could keep a running count...
I am working on a asp.net mvc c# jquery application. For some reason when I drag a file from the solution explorer on to my code page I no longer get the path to the file. All I get is
<a href="../../">../../</a>
If I start with a new MVC project and drag a file say the jquery file Visual Studio gives me this,
<script src="../../Scr...
Hi all! Let there be two - identical in terms of options - radio groups A and B. I'm trying to guarantee, via jQuery, that if some option is selected in A, then it's equivalent option is selected in B, and the other way around.
My current approach is this one:
$(document).ready(function() {
$(".groupA > input").click(function() {
...
I can currently place static points in the map window:
var latlng = new GLatLng(lat, lng);
map.addOverlay(new GMarker(latlng, markerOptions));
And I know how to get the bounds of the window. I can also code a page that will take the bounds and return the points that are inside them in any format.
The problems I have now:
Does the ...
The above is concept of a search interface I want to build in ASP.net MVC. when user clicks on the '+' button, it should create a row text filters or date filters. Does jQuery offer me this flexibility or are there any such UI frameworks which would help me achieve this? There is a search button, not shown, which when clicked should po...
What is the selector syntax to select a tag after using the ":last" selector?
<table>
<tr>
<td>
Cell 1
</td>
<td>
<table>
<tr>
<td>
The tag I want to get
</td>
</tr>
</table>
...
I have a Jquery modal dialog, My question is what is the best way to send this data to the controller, and to display a message back to the dialog. I can not seem to find and good examples of this.
...
I've been working with ASP.NET MVC and Javascript/jQuery a lot lately and I seem to be heading in a direction where I'm always needing to pass some dynamic value "to" my javascript. When the script is right in the page, I've done something like this:
var isEditable = <%=ViewData["editable"]%>
I like how this is quick & easy and just l...
Hi all,
I am just trying to learn jquery, and I was wondering how can you figure out when, given a bunch of text in a textarea, is the user at the end of textarea and tries to click down. For example, the last line of the text is asdf, and when the user is at that line, and presses down on the arrow key, i would like to get an event of...
My problem is that this JSON is not being parsed by JavaScript or the jQuery API. I am including the code below and a URL where the JSON output is.
This JSON is being parsed in JavaScript as nothing:
//something like this:
alert(data); // gives an object
alert(data.horas[0].hora; // gives undefined
The JSON itself:
{"horas": [{"hora...
Hi.
I am trying to use jquery appendTo in order to copy an element into another container.
The object is indeed appended but, it is removed from the source.
Is there a way I can append the element while leaving the source element where it is?
call it copy call it clone call it whatever you feel like.
Here is my current code:
jQuery(do...
Hi
Does anyone know how to create the rules for the jquery form validate plugin when you have a name attribute that is an array?
eg.
<form id="myForm">
<input type="checkbox" name="data[]" id="firstId" value="1" />One <br />
<input type="checkbox" name="data[]" id="secondId" value="2" />One <br />
...
I'm trying to attach a rule to ...
Hello,
I have an existing jQuery plugin which makes a lot of AJAX calls (mostly JSON). I am wondering what is the quickest to allow it to do cross-site calls i.e. the $.get and $.post URL's will not be from the same domain.
I have heard of JSONP, but was wondering if someone could give me an concrete example to go about the whole proce...
Hi Guys,
Right now I am usingjQuery UI Tab but it has a conflict in Drupal's fieldset accordion so I am thinking of using a lightweight javascript tab with a good design like rounded corners that is a javascript framework independent.
What javascript tabs are you using? Or do you know any javascript tabs that is working in drupal and d...
I am using the jquery autocomplete plugin, and am trying to trigger the autocomplete manually based on certain keys the user enters. I'm trying to bind the autocomplete to the input on the fly so the autocomplete can start looking for matches once a user enters a certain key to trigger "I'm now entering data to be searched on", which cou...
Hi,
I need a plugin which highlights/points to a div box on the page on page load. The tooltip should then be able to be closed and/or will disappear after a few seconds.
I am having difficulty finding one, as all the current ones seem to require the mouse to hover over the intended target.
Are there any plugins that people recommend o...
I am using ASP.NET webforms and jquery validation. I would like to check if a certain group of input elements are valid, rather than checking if all the input elements on the page are valid.
I would like a function like this. Note that frame is a div containing input elements. if any of invalidElements() are contained in the given div, ...