I have a page that has a lot of dialogs.
There are a particular few that I want to apply some css to.
I can like this:
.ui-dialog .ui-dialog-title
{
color:#3A6983;
}
.ui-dialog .ui-dialog-content
{
background:#eee;
color:#3A6983;
}
However this styles all the dialogs. I only want to style a particular group. How can I do...
I'm using the Wordpress Settings API to create an options page for a plugin that handles images and links. I can register 3 add_settings_field calls and add 3 images and links to the site. Does anyone know of a way to dynamically let the user add a new field (add_settings_field) on the fly. For instance if it started with 1 field, but th...
I have some data in a table that looks like this:
Adam $50
Evan $20
Frank $80
Harold $90
Jeff $20
Linus $10
Sam $87
Zach $100
Results are sorted by name alphabetically and can have any amount of $ beside them.
I need to make the top five amounts bolded and red as well as append a #1, #2, #3 etc beside the first f...
I want to include an AJAX call within a .submit() handler so that I can process form data and send email confirmations before the form is fully submitted. Therefore I'd like to make the submission wait until the AJAX call is complete, so that I can cancel the submission or do other things based on the response.
How would I go about doin...
I am working on asp.net and jquery website , and when run browse the site an java script error has occurred .
Visual studio debuger references that GetMainFrameUrl is undefined :
function EBNavigateComplete()
{
if (!GetMainFrameUrl())
{
navCounter++;
if (navCounter%100==0)
{
o.loadEmptyTerm(...
Hi All,
I am creating <td> and adding data to it.
$("<td>").addClass("tableCell1").text(mydata).appendTo(trow);
now if I have to create an <a> tag inside how to do it?
example:
<td headers="xx">
<a href="#" title="zz</a>
</td>
EDIT:
$("<td>").addClass("tableCell1").text(mydata).appendTo(trow);
...
Hi
I'm trying to make a pattern in a layout (see attachment for visualisation)
The problem is that using :odd :even doesnt work.
I've tried to make it work by using "for loops", and if statements, but obviously jquery doesn't do this stuff in that way. Or maybe i'm supposed to do it outside the document ready statement? I tired that to...
I am trying to create a little flip book.
I have as many divs as there are pages. They are all set to display: none; Unless they have the current class attached.
I have one page showing, and the page that would go next to it showing just beside it. I want to take the page that is beside it, and make it flip onto the other page to get t...
I'm retrieving the width of elements using jQuery and would prefer it if I could have an indication of whether there was an explicit width (and height) specified.
<div id="test"></div>
<script type="text/javascript">
$(function() { alert($('#test').css('width')); });
</script>
This will alert the implicit width of the div in terms of ...
Hi,
I use a jQuery function to show certain hidden text fields once you select something from a select box.
This works fine for select boxes but I can't get it to work for a checkbox.
Here is the stripped code I tried (in a nutshell) but it's not working: http://jsbin.com/uwane3/2/
Thanks for your help, I rarely use JS so my knowledge ...
I need some help to implement this roll over / out effect.
This is the screenshot: http://dl.dropbox.com/u/72686/roll-over-out.png
I have a menu. When I roll over the item "Products" the popup block appears below it, with a tree with all products.
<div id="menu">
<div id="product"> Roll over here </div>
...
</div>
<div id="popu...
var array1 = {};
array1['one'] = new Array();
array1['one']['data'] = 'some text';
array1['one']['two'] = new Array();
array1['one']['two']['three'] = new Array();
array1['one']['two']['three']['data'] = 'some other text';
$.each(array1, function(key1, value1){
$.each(value1['two']['three'], function(key1, value1){
document...
Hiya,
I'm using jcarousellite for a simple JQuery carousel, but I would like to alter it a bit so that images are hidden for the items to the far left and the far right, but shown on the middle items.
To do this though I need to be able to find which list items are being displayed in the view port at any one time. I've tried digging a...
I'm at my wit's end when it comes to this. JavaScript definitely isn't my strong suit and I've been trying to google for a solution. Here's the code I have:
<asp:RadioButtonList ID="Group1Most" onClick="disable('Group1Most', 'Group1Least')" runat="server" >
<asp:ListItem Value="1"> |</asp:ListItem>
...
How to get html code [ complete div code ] from cross domain. I heard that we can get by using jquery, Ajax, Json concepts. I tried to research on these. But i dint understand how to access. Please give any simple example. I need to know atleast small information.
Thanks in advance
...
Running into a recursion issue. Firebug says line 600:
// Recurse if we're merging object values
if (deep && copy && typeof copy === "object" && !copy.nodeType)
target[name] = jQuery.extend(deep,
// Never move original objects, clone them
src || (copy.length != null ? [] : {})
, copy); // <--- Line 600
Here's sour...
I would like to determine the most efficient way (using jquery, or dom) to get the value of a set of checkboxes if you have one of them.
This should be generic when the input checkbox is part of a form. However, is this x-browser safe, how to do this more efficiently, and what if the checkbox is not part of a form?
function (domCheckbo...
I know I can use something described here: http://stackoverflow.com/questions/596351/how-can-i-get-which-radio-is-selected-via-jquery
i.e. jQuery("input[name=myradiogroup]:checked").val() to get the selected radio button value. But I'd like to cache the radio group and determine which value is selected at a later point in time.
I want...
Arrg.
I can't spot the endless loop in this contact form. The "thanks" div endlessly prints after the form submission. What am I missing? Is the error php or also jQuery? (In the working file, the JS is included via <script type="text/javascript" src="contact.js"></script>)
Thanks
<?php
if(isset($_POST['submitted'])) {
if(trim($_POST...
Hi,
Is there a way to use jquery when scripting in Apples UI Test Automation. When, in Intruments, I try:
#import "jquery-1.4.2.js"
I get a warning regarding undefined object window, which is expected since there are no window objects defined, like it would have been in a browser.
But, when I try the same on the Rhino JavaScript eng...