Greetings,
I have problem with errorPlacement, I'm trying to place the error message next to the field but it appearing on the top of the page.
any advice how to fix this problem??
here is my code:
<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="IMAM_APPL...
Suppose I have this:
<select id="myselect">
<option rel="a">1</option>
<option rel="b">2</option>
<select>
How do I use JQuery so that onchange $("#myselect"), I alert the "rel" part of the option (not 1 or 2)
...
The script below resides in my theme's functions.php file.
It is designed to show and fade an "update" div which comes on screen after each save event. Just asking if this is the best approach to take so that it only executes on save and is not constantly trying to run the jQuery...
<form method="post">
<?php
if ( $_REQUEST['saved']) ...
So I have an interesting image setup and I was wondering if it's possible to fade between two background images. I would assume if there was one, it'd be with multiple background images and opacities... hmm!
...
What is the best jquery twitter plugin capable of using the twitter lists API?
I want to display a list of the latest tweets using jquery given the name of the twitter list.
...
$.getJSON(service + "/GetJobTags",
{ tag: "a" },
function(json) {
$.each(json, function(i,val) {
alert(val.Title);
});
});
It calls:
http://127.0.0.1:20087/ClientService.svc/GetJobTags?tag=a
This is probably of note, the service is running on a different port to the client application, wh...
Hello,
I currently am displaying dates as follows "yyyy/mm/dd" in a wordpress blog (it needs to be input in this format because a plugin is using it to define a post expiration date). I want to use jQuery to locate all of these strings on a page (they're all in table cells) and reformat them to "mm.dd.yy"
The site is:
http://www.beat...
I have a HTML document with the below setup:
<div class="main-div" style="padding: 5px; border: 1px solid green;">
<div class="first-div" style="width: 200px; height: 200px; padding: 5px; border: 1px solid purple">
First Div
<a href="#" class="control">Control</a>
</div>
<div class="second-div hidden" style="wid...
Hello,
This question seems to have been asked a lot, but I haven't seen an answer that works.
So I have a div that works like this:
<div onclick="location.href='http://www.abc123.com';" class="menuitem">
</div>
Now I need the link (specified in location.href) to open up in a fancybox iframe.
I would love to use an A element but thi...
The examples I have seen all show a Facebox by clicking on an anchor. Is it possible to use a button instead? I am modifying an asp.net page that dynamically generates asp:button controls, and would like to not have to replace them with anchors. Thanks.
...
hi,
i have a unordered list of links, which are dynamically created by Ajax, and for each link i want to add click function to it, but it won't work, please help!
here is my code:
HTML:
<div id="sidebar">
<li>
<h2> list </h2>
<ul id="list"></ul>
</li>
</div>
JS:
//to create links
var str = '';
$.each(json.opts, fu...
I'm trying to convert a database-driven multiple-choice-style study website (written in JSP) into an iPhone app using JQTouch.
If I load all of the Q&As into their own divs in the same file I can easily link and animate between them using links to hashtags, like: a class="button" href="#question22"
Unfortunately this isn't practical. T...
Hello,
I would like to make a image randomizer/slider that randomly displays an image from a designated gallery and has controls to view the next/previous image. I have seen this done where images must be coded into arrays, but I would like to be able to just drop images into a /img/gallery directory and have the randomizer/slider pull ...
When using jQuery to submit a form is it possible to place the resulting page (after the submit) inside another HTML element?
I'll try to make this clearer. Up to now I've been using Callback methods that among others do a
document.forms['form'].submit();
whenever a form has been updated with new information and needs to be refreshe...
I did a quick search, but couldn't find a specific solution to this (I'm sure it HAS been answered) but, I need to figure this out...
Anyone know why this won't work in IE?
$(document).ready(function() {
$(document).blur(function() {
window.close();
});
});
And what to do instead?
Thanks.
...
I have a form that is brought up in a ajaxed modal which I am using for updating user details. When the modal loads I call a js function:
teamCreate: function() {
$j("#step1,form#createEditTeam").show();
$j("#step2").hide();
var options = {
type: "get",
dataType: 'json',
beforeSubmit: before, // pre-submit callback
succe...
Hi all,
extreme n00b here... I've got a number of elements (dynamically generated by back end so it could be quite a few) and all need a unique id. I'm trying to work out how to do this wth jQuery and not doing so well. Any help is appreciated.
In the code below, I'd want each "bar" div to get a unique id, like id1, id2 etc etc
<div...
Hey, I'm still trying to get my pagination links to load properly dynamically. But I can't seem to find a solution to this one problem
the problem I am having is when I click any of the pagination number links to go the next page, the new content does not load. literally nothing happens and when looking at the console in Firebug, nothin...
Given the wide array of features jqGrid offers, has anyone run into issues using the latest jqGrid 3.6.4 with jQuery 1.4?
...
Hi all:
This is but a curious question. I cannot find any useful links from Google so it might be better to ask the gurus here.
The point is: is there a way to make "annotation" in javascript source code so that all code snippets for testing purpose can be 'filtered out' when project is deployed from test field into the real environmen...