I'm trying to use the Jquery builtin validator on my page. The issue is that I have certain fields that only are required if the JobID (entered into another field) does not already exist in our database. I have a simple service which simply takes JobID and returns True or False based on whether the JobID exists, but I can't seem to get...
Hi everyone,
i am working with a select. I want to trigger and event when the user select a value.
I am using the event "change", the problem is that if a user open the select but choose the same option that is selected, the triggers doesn't fire.
Is there a way to capture the event when a user select an option independently if the op...
Is there a way to alter this script to be used as the blind effect.
// Andy Langton's show/hide/mini-accordion - updated 23/11/2009
// Latest version @ http://andylangton.co.uk/jquery-show-hide
// this tells jquery to run the function below once the DOM is ready
$(document).ready(function() {
// choose text for the show/hide link - ca...
Hi,
I am trying to sort rows of a table, and put them as 'child' elements of a table row
I found this: http://code.google.com/p/nestedsortables/ this works with ul li lists, but i want to build it for a table.
<table>
<thead>
<th>tablehead</th>
</thead>
<tbody>
<tr><td>somevalue</td></tr>
<tr><td>somevalue2</td></tr>...
Hi,
I have this code to update users data, but I can't write the for loop inside jquery data!!
Is there any way to modify the follwing wrong code to be correctly
function DisactiveUser()
{
var num_checkboxes = document.forms[0].elements.length-1;
$.ajax({
type: "POST",
url: "submit/php/users.php?do=disactive",
da...
I am building a web application that is dependent upon several third-party libraries. What is a good strategy for making sure that you're always using the most fully patched versions? A simple method would be to keep the versions written down and visit the websites at regular intervals, but I am looking for some way to get the informat...
Given a large text block from a WYSIWYG like:
Lorem ipsum dolor sit amet, <span class="X" id="12">consectetur adipiscing elit</span>. Donec interdum, neque at posuere scelerisque, justo tortor tempus diam, eu hendrerit libero velit sed magna. Morbi laoreet <span class="X" id="13">tincidunt quam in facilisis.</span> Cras lacinia turpis v...
Using the jquery metadata plugin, I have an element on my page that looks like this:
But, if I run this through the W3C Validator - I get an error saying "there is no attribute "data""
...have I missed anything (I realise data isn't a valid attribute, but this seems to be a 'bug' in the metadata plugin is it? - not one that's going t...
How can I detect when the iframe content has changed and do something upon that change pseudo code below
$('#waframe').contents().change(function(){
//do stuff
});
...
It looks like in most browsers, an <input type="submit"> treats both [spacebar] and [enter] as a click, but an <a> link only treats [enter] as a click.
My app uses a number of links formatted to simulate buttons, so a user that is accustomed to tabbing to a button and pressing [spacebar] will be frustrated.
This bit of jQuery solves ...
Here's some of the html
<form id="frmSubmit" action="/Viewer" style="display:none;">
<div id="renderSubmit" class="renderReport">
<input type="hidden" name="reportYear" id="reportYear" value="" />
<input type="hidden" name="reportMonth" id="reportMonth" value="" />
...
Hello, I am quite a jQuery novice and try to read out the result of a PageMethod into
my jQuery script. I have a ScriptManager installed and the following WebMethod:
[WebMethod(EnableSession = true)]
public static string CheckSystemDefault(string _id)
{
int id = Convert.ToInt16(_id);
addressTypeRepository = new A...
Hello,
I am using a separate PHP file as a configuration file for everything else on a basic ecommerce site.
Here is config/products.php:
$product1["short"] = "product one";
$product1["menuimgslideshowsrc"] = "image/product1.jpg";
When I hover over a button, I want to get $product1["menuimgslideshowsrc"] and swap it out with an IMG ...
Is it required to use a RESTful
service to be able to make a ajax
call to a wcf service (for example: by using
WebInvoke attribute on Operation
contracts)
Once a service is made RESTful by adding a webHttp binding on the service host, can the host have other endpoints as well? (wsHttp or netTcp)
Is it required that the aspNetCompatibili...
I'm looking for a library that will do some pre-validation functions on my input fields.
For example, when you logging into hotmail, the user's email address is automatically lowercased before the form is submitted.
I want to be able to strip out all none-alphanumeric characters from certain fields, upper/lowercase some input, strip ou...
I'm using DateJS to parse user-inputted dates, and getting some strange results.
Date.parse("15 Jan 2010") returns Fri Jan 15 00:00:00 EST 2010 (right)
Date.parse("15-Apr-2010") returns Thu Apr 15 00:00:00 EDT 2010 (right)
Date.parse("15 Apr 2010") returns Thu Apr 1 00:00:00 EDT 2010 (wrong)
As far as I can tell, the d MMM yyyy input...
I'm trying to fumble my way through parsing rss sensibly, using jQuery and jFeed.
Because of the same origin policy I'm pulling the BBC's health news feed into a local page (http://www.davidrhysthomas.co.uk/play/proxy.php).
Originally this was just the same proxy.php script as available in the jFeed download package, but due to my host...
On the home page of my site I use JQuery's ajax function to pull down a list of recent activity of users.
The recent activity is displayed on the page, and each line of the recent activity includes a link to the user profile of the user who did the activity.
Will Google actually make the ajax call to pull down this info and use it in c...
Hi all,
I am attempting to inspect the events bound to an element using the following syntax
$(item).data("events");
I have also tried
$(item).data("events").change;
I know for certain that the change event is bound and if I do this
$(item).attr("change")
I can see that an attribute with that name has been registered.
I am...
So, I'm working with CKEditor and jQuery, trying to build a pop-out editor.
Below is what I have coded so far, and I can't seem to get it working the way I want it to.
Basically, click the 'Edit' link, dialog box pops up, with the content to edit loaded into the CKEditor.
Also, not required, but helpful if you can suggest how to do it. ...