I was browsing the web and found this site. I noticed how the nav bar drop-down works, and I want to implement something similar on my website.
Afer going into the source code of the page, I found that those drop-down areas are contained in divs with class fOut.
It turns out that this is being done with MooTools. Here is the script its...
Last two nights I am struggle with below code. The problem is I need to remember expanded (or) collapsed toggles sections and on page reload I have show them as is expanded (or) collapsed.
$(function() {
$('tr.subCategory')
.css("cursor", "pointer")
.attr("title", "Click to expand/collapse")
...
I have code hinting for Aptana setup for jQuery. However, many jQuery actions use strings, which Aptana does not provide hinting. How can I have Aptana give hinting for html and CSS when I am typing inside a string?
$(function() {
$("#theList tr:even").addClass("stripe1");
$("#theList tr:odd").addClass("stripe2");
});
I have ...
I've used this:
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://domain.com/languages.php",
dataType: "xml",
success: xmlParser
});
});
function xmlParser(xml) {
$('#load').fadeOut();
$(xml).find("result").each(function () {
$(".main").append('' + $(this).find("language").text() + '');
$("....
I m trying to access a data after invoking a URL which redirects the output to another page with query strings.
ie:
$.ajax({
url: 'http://foo.com/results/bar.aspx?fooid = 123&more=1',
success: function(data) {
alert('Load was performed.'+data);
}
});
Reponse results empty. This URL is a redire...
Dear expert,
I have facing a problem to select span tag using jquery. Please give a solution.
code:
<ul>
<li>
<a href="#Document1">Document 1
<span id="tab_close> x </span>
</a>
</li>
</ul>
...
I'm stump figuring out how to do this in jquery, I need to do it without any plug-in. Imagine a shopping cart for books, each change of quantity (using select dropdown) will update the total price, grandtotal and then the hidden input value.
<table>
<tr>
<td class="qty">
<select class="item-1">
<option value="1">1<...
Hello everyone, I am currently creating a simple menu where there are several names of services and a user can click on one and jQuery will show it's corresponding paragraph describing it below it. My jQuery code is fine and does exactly what I want, however, I have one bug I have yet to iron out.
Whenever I click one of these headings ...
I have a ul list, with 10 items, and I have a label that displays the selected li text.
When I click a button, I need to check the label, versus all the list items to find the matching one, when it finds that I need to assign the corresponding number.
I.e.
list:
Messi
Cristiano
Zlatan
hidden values of list items:
www.messi.com
www.cr...
Hi everyone, i would like to call a jquery dialog box (so html, css,javascript ) via asp.net Server Side event.
Is it possible ?
Thank you
...
Hi,
I'm using ui.datepicker.js
and I want to validate the date field to make sure the user select a date.
I have tried
function allow_submit()
{
var f = document.all.frm;
if (f.date.value == "") {
jAlert("Please select a date");
return false;
} //if
return true;
}
and also have try
if (f.date.value == "0000-00...
Hello,
I'm rather new to jquery so this may be the issue. I have a script that outputs several divs all with different text data in them. I would like it when I click one of them that an input field's value is updated to that text currently I have:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/...
Hi,
I've been testing this upload script and it looks really good, but i just can't get it to post values, that i have extracted from inputs. Everything is looking good and it seems I'm writing everything correctly but it just stops SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0,
there's my piece of code which causes these troubl...
Recently, I was trying to prototype some jQuery-based menu into ASP.NET MVC. Just to name two examples here:
plugins.jquery.com/project/columnview
www.filamentgroup.com/lab/jquery_ipod_style_and_flyout_menus/
Their demo page looks great, but when I integrate their sample code into MVC, the script no longer works in IE and FireFox, b...
I need the form to be submitted at the end of the count down. I am aware of expiryURL, but the form doesnt get processed. Can someone help?
Thanks!
...
Hi guys, i'm trying to make toggling div with only 1 javascript.
I tried this, the first div does what it was meant to do but the second doesn't.
Have a look.
<body>
<div>
<div>He
<div>You
<div id="Me"><a id="me">Me</a></div>
</div>
</div>
<div id="This">We
</div>
</div>
<div>
...
I am using a javascript function (F) (jquery )which uses 3 select values selected by the user to calculates a value - R(result)
R is a number ranging from (1 through 9), (11) and (22);
I need 2 extra steps one before the calculation and one after.
a. Before calculation takes place:
Make sure all three select values are changed before...
Hi everyone!
i'm a newbie in jQuery and i don't know how to do my homework, pls help me !
i have a String EX: this is my text, press here.
Now i put in o block character : [here]
how can a take slipt string and get text in [ ] into variable 'done'?
thankyou !
my HTML here:
<div id="quotacontain">
<p>this is demo [ string ]</p...
I have tried the recommendation from this forum and through the many google searches...but i still can't get the events to show up on my calendar via jsp....i tried with php and it worked...sigh...i wonder where is the error....sigh....
The processRequest method is fine but when it dispatches to the JSP page...nothing appears from the b...
Hi All,
I have a hierarchy of many records (a 1000 to be exact) that I display in a dropdownlist. Is there a way to filter this list down with a keyup event of the select/option list?
<select id="food">
<option>Foods</option>
<option> Fruits</option>
<option> Apple</option>
<option> Vegetables</option>
...