I am using JQuery tabs. One of my tabs contains another set of tabs.
I can use http://site.com/page.aspx#tab2
and the page will load with the second tab being selected.
However this second tab is the one that has another set of tabs in it.
I want to do something like http://site.com/page.aspx#tab2#tab2
And have it select the second ...
hello
i have dialog working but it looks nothing like the demo at jquery.com i have the theme css and the js files and referenced, but it looks ugly. big text and the title and 'x' are out of position. i have placed a grab at:
http://picasaweb.google.com/100992319569544717409/DialogPics
and would be grateful if someone could explain ...
I need to be able to set an input field to a date 365 days from the current date. This field sets the expiration date of a membership purchase. I have this javascript which does not work for some reason.
<input type="text" name="ZoneExpiry" id="ExpiryDate" />
<script type="text/javascript">
function setExpiryDate( )
{
var dat=new Date()...
Can anybody provide me with an example of how to populate a dropdown list from data in a sql server database. I have just an html page with no server-side anything...
...
Hi,
I'm trying to do the following:
I've got a form that is validated with the jQuery Validation Plugin. There is a field which has a couple of rules:
var validator = $("#myForm").validate({
rules: {
emailForRequest: {
required: true,
ema...
When I change content of a site using toggle, or which ever other function, the state is not saved. So, if this is my page:
<div id='test'></div>
<input type='submit' value='test'>
<a href='http://www.stackoverflow.com'>link to elsewhere</a>
and this is in my ready-code:
$(':submit').click( function() {
$('#test').text( 'this i...
I have a tab system set up that uses the following structure to automatically detect new tabs:
<a href="#div1id">Show div 1</a>
<div id="div1id">Div1</div>
The thing is, I need to disable the ability to reload a tab by clicking the tab that is already showing. I have tried using .hasClass() and .is() to detect if the clicked tab was a...
If I've got a menu, which for accessability reasons, is visible when the page loads (so if the EU doesn't have JS enabled then they can still navigate around), but I want to hide it if they do have JS enabled, then it's easy enough, just hide it. However I want it to stay open if the mouse is over the element when the event fires.
The ...
NOTE: I didn't write the script in question, my collegue did. Just volunteering to get some input on this for us. Please pardon incorrect terms or descriptions that sound like a noob; I'm not a scripting guy, I'm an HTML/CSS guy.
The page in question:
http://cure.org/curekids/kenya/2010/02/joseph_muchiri/
A screenshot of the issue:
...
How do I select only first-level li's? If I do 'ul li', it also selects the children. Is there a way to select only the top level and not the children using CSS? If not, I am ok with using jQuery, but how would I select it in that case too?
<ul>
<li class="administration first">
<a href="/administration.aspx"><span>Administr...
I am using full calendar and I wish to be able to allow administrators to be able to exit editable mode to perform other actions on the calendar. How can I dynamically change this setting of full calendar. Thanks.
...
In my menu below, I have this in my CSS:
ul li ul {display:none;}
When a menu item is selected, I use this jQuery to show the children menu:
$('ul li.selected ul').show();
So I confused on how to handle hovers for the top level menu. When I hover over a top level menu item, how do I hide all sub-menus and show only the hovered item...
I have jquery pop form to upload a file, after on submit (the page refresh and the pop close) i check something about the file and then if there's something wrong i need to pop up that form again (from the java code?), how could i do that ?
...
Hi Folks,
I am trying to count the number of elements under a parent but its giving me an incorrect count. The result should be 2, where as its returning me 4.
My HTML structure is:
<div style="overflow: hidden;" id="parentDiv" class="scroll">
<div id="3">
<table id="t3" class="Table">
<tbody>
<tr>
<td ...
I'm using jqGrid with a restful api. By default when I click "next page", I get a url like:
http://myservice.com?rows=20&page=2
(I'm leaving out some params to keep the example simple.)
The service expects a url like:
http://myservice.com?limit=20&offset=2
What's the easiest way to set up that translation?
...
Does jqGrid support zebra striping? I can't see any examples.
By zebra striping I mean each even row has one color and each odd row has another color.
Currently we are using JQuery UI themes to theme our grids.. ideally the way we do striping won't interfere with us using the UI themes
...
i am animating the "left" property in order to create a carousel.
but whenever the animation is run in firefox the sides of the carousel shake untill the animation is done
...
I have a page with a linked image, where the link takes a bit of time to load. Therefore, users tend to click multiple times on it. This occasionally causes errors to crop up in the code. How do I prevent users from clicking on the link more than once?
In an attempt to remedy this, I changed the link to an onClick event and then in the ...
Hey guys,
I'm trying to do some cross domain stuff with YQL and Jquery but i'm having a little trouble with getting this yql query to work right.
Okay so this is the YQL statement i'm trying to get to work:
use 'http://yqlblog.net/samples/data.html.cssselect.xml' as data.html.cssselect; select * from data.html.cssselect where url="www...
I've done a few hours of additional research but I still can't find a good pattern to what I would think is a common problem.
I'm working on a .Net MVC2 app. Our app is made up of a main page then a number of partial views (included pages) each one of the partial views corresponds to a widget consisting of an HTML structure and JS-jQur...