Hi, I have two colorbox popup boxes which show a youtube video in each. When they're finished playing, I'm trying to have them automatically close the colorbox window. This code below works perfect in firefox, but in IE I can't get addEventListener to work. I've tried attachEvent with no success. Can anybody offer any suggestions as to h...
I need tp serialize a group of input elements but I can't for the life of me figure out this simple task.
I can successfully iterate through the targeted inputs using:
$("#tr_Features :input").each(function() {
...
}
Here's my code, that doesn't work:
var features = "";
$("#tr_Features :input").each(function() {
features += ...
Is there a jQuery plug-in clearing house or repository? How do you find the functionality you are looking for? My search in particular is to display events on a timeline and to do faceted searching, but I get no where from the clutter that is returned by my searches.
...
Hello all,
I have a form with a submit button. I have attached a click event to that submit button using JQuery. Once I did this my form wasn't submitting, I thought this was because of the event I added- if I remove that click event it submits the form successfully.
I have tried giving my form an id and calling the submit function but...
Hi, Disqus automatically places defined captions upon request. For example: Add new Comment
I've tried to change its value with jquery on ready():
$('#dsq-new-post h3').text('Paticipa con tu cuenta favorita');
No success :( ... how can i know when disqus script is finished parsing the data so i can change the caption value of h3?
BT...
Well, I keep putting semantic information about what an element means for the page logically in the class attribute
<li class="phone-number">555-5555</li>
It seems to work for this dual purpose of hanging semantic information and a pointer to how to style it.
I'm not sure if this is the best idea, I'm trying to see if others have oth...
This one really has me stumped. For some reason when I animate the x and y scroll property at the same time it jumps in IE 8 but works in all other browsers. I'm hoping someone has run into this before and has a work around. Note: it works fine if I only animate the x or y by them selves.
Please view this working example
...
Howdy,
Here's the situation:
You have a very complex UI element that is repeated in a list. Each has a menu on it, buttons, it hides and shows subelements, buttons for switch it's state, etc, etc. The elements are populated via JSON so you have to construct the elements and the functionality of the fly.
What's the best way to accompli...
Right now I'm working on a help-system which is based on a local file system. It is intended to be shipped with a product which is not used on internet-enabled machines, so it must be a stand alone webpage, without any dependencies on a web server.
This introduces a few challenges. Namely, the directory structure that the files exist ...
Hi, i need to execute specific javascript instructions AFTER an external javascript finishes its own process.
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://xxxxxxxx.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getE...
I've got a design for a video page which has a main video panel which will load the FLV file into JWPlayer when a thumbnail image is clicked. I think what I'm looking for is a partial page refresh? What is the best way to achieve this effect?
This is the script I am using to display the video panel:
<script type='text/javascript'>
...
I serially collect information from forms into arrays like so:
list = {"name" : "John", "email" : "[email protected]", "country" : "Canada", "color" : "blue"};
identifier = "first_round";
list = {"name" : "Harry", "email" : "[email protected]", "country" : "Germany"};
identifier = "second_round";
I want to combine them into some...
I have two ordered lists next to each other.
When I take a node out of one list I want to insert it alphabetically into the other list. The catch is that I want to take just the one element out and place it back in the other list without refreshing the entire list.
The strange thing is that when I insert into the list on the right, it...
I have a thumb gallery where I am using ajax/javascript to submit a form per image to report the image as broken seamlessly along with php. The form and script is templated so the script is in the header and then the form is printed multiple times on the same page with a hidden field with a different id for the value per thumb. So basica...
Hi
Say I have this
<table border="1" id="tbl">
<tr>
<td><input type="checkbox" name="vehicle" value="Bike" /></td>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
</tr>
<tr>
<td><input type="checkbox" name="vehicle" value="Bike" /></td>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
</tr>
</table>
Now I want to get the row that is chec...
I am using this code to select the checbox from fieldset:
$("fieldset:has(input[type='checkbox'])")
its working fine on the fieldset I have studentid's I need to get the student id's which ever textbox is selected on the fieldset?
Can anybody help me out?
thanks
...
I have a jqGrid in an ASP.Net MVC.
The grid is defined as:
$("#list").jqGrid({
url: '<%= Url.Action("History", "Farrier", new { id = ViewData["horseId"]}) %>',
editurl: '/Farrier/Add',
datatype: 'json',
mtype: 'GET',
colNames: ['horseId', 'date', 'notes'],
colModel: [
...
Hello, Im having an issue getting json working with the struts-jquery-plugin-2.1.0
I have included the struts2-json-plugin-2.1.8.1 in my classpath as well.
Im sure that I have my struts-jquery-plugin configured correctly because the grid loads, but doesnt load the data its supposed to get from the action class that has been json'ized.
...
I can't seem to set cookies from the jquery.cookies plugin when running on nginx. My configuration is pretty standard, I'm just wondering if anyone else has had the same problem.
I'm new to nginx, so take it easy on me :)
...
Hello,
I had inserted two jQuery tabs on my site. One div container had the id - tabs and another had the id tabs-for-views.
Both of them were working fine till sometime ago, until i made some changes. I don't remember what the exact changes were..
Right now, the first tab uses the jQuery UI theme I am using. As in, I can see the ta...