HTML
<div id='accordion'>
<h5>Header 1</h5>
<ul>
<li>section 1 content visible</li>
<li>
<div id=showhide>
<textarea id=usertext>
user entered text here,scalable
</textarea>
</div>
</li>
</ul>
<h5>Header 2</h5>
...
i have this code:
function DisableDropDownsMonth() {
$(".filterDropdown").val(0);
$(".filterDropdown").attr("disabled", "disabled");
}
to disable a bunch of select dropdowns that all have this class. I have a new requirement to call this on every ".filterDropdown" EXCEPT if the id = "#firstDropdown"
is there a...
This is my problem, I have a div and inside 2 divs, one is centered and the other one is fixed on the left, the problem is when I resize the screen the centered div overlaps the fixed one, what I wanted to do is detect when the centered div overlaps the other div and change its left value with javascript, but is not working, any ideas?
...
Using the code at http://jsfiddle.net/eSbps/ I am having an issue.
Basically its a menu system that, when you hover over the top levels, the second levels are shown through slideDown('slow');
however to remove the queuing effect i am using stop(true, false).
The issue is that when you hover over it again, the animation will only run t...
I have number of conditions i'd like to check before submitting a form so I've created:
$("Step2_UpdateCartForm").submit(function () {
if (!procssingEmails) {
return true;
} else {
return false;
}
And I have a number of events that could result in a form submission so i have something like:
function fireU...
Planning to start a small aggregator for a personal project, so far I have a few inquiries on gathering information for the site. I'm still clueless on where to begin. what kind of infrastructure do i need? where do i get the feeds and can I sort them out depending on the theme of the info requested?
any feedback is appreciated. thanks
...
Hi all,
This is my first post and I have the feeling that this is something stupid. I have already been to this question: http://stackoverflow.com/questions/511947?tab=newest#tab-top although that still did not really help.
I have 3 PHP pages. The main page is the one with all the jQuery on it:
<body>
<script type="text/javascript...
Hello,
i've tried jquery .load() function. It is ok when i load files from my server, but i don't know how to load another file from www.
This is my code:
jQuery("#blog").load("/index.html");
jQuery("#blog").load("http://crocoweb.sk/");
The first one is working, the second not.
On documentations I can't find how to use http as url p...
I want to display the all the department names in the Dept Table in a combo box.
I have a function which fetches all the Dept name.
How can i dynamically create combo box in runtime, using javaScript or jQuery.
HTML CODE
<select id="searchDepartments">
</select> <input type="button" value="Search" onClick="search();" />
Jav...
Hey i am new to jquery and i was wondering whether someone could give me some help when it comes to working with variables. The below is what i have thus far. I want to find a certain divs left position and width and then do some basic maths with those variables. Sorry is this explanation is a little confusing. So just a example as to ho...
Hi,
Before down-voting or closing for duplicate questions, I want to make clear that I have read old posts on this site and others. The problem is that they are old (some at least) and are not giving really good examples.
I currently use ASP.Net MVC 2.0 with Ajax.BeginForm and jQuery Validation client-side validation which both works p...
In IE7 only onselecting selectall checkbox only one checjbox gets selected on firefox this works fine..How can this be fixed
<input type='checkbox' id='selectall' name='selectall' class='selectall' onclick='javascript:selectall1();' /><label><b>Select all</b></label><br>
<input type="checkbox" id="m_q" name="m_q" value="485">
...
I am using jqgrid, it is currently working fine in FF, IE8, Chrome, Safari. But in IE7 I get this error:
'this.rows.0.cells' is null or not an object
jquery.jqGrid.min.js
Code:
0
Line: 122 Char: 278
Has anyone come accross this before? Is there a known fix?
update
Here is my PHP code:
$qry = 'SELECT stock_num,...
i'm finishing writing a plugin, which allow to zoom images, and then move it, to see other parts of image. But i have a problem.
as we know, when we try to move image, (ie when we mousedown on it and move the cursor), the browser don't allow it.
i've written
$("img").mousedown(function(e)
{
e.preventDefault();
});
and it works i...
I have seen that there has been a request to add a MORE link, to the calendar and limit the number of events. Is this done yet? Or has anyone implemented there own work around, that they can share? If so please post your code.
...
There is a select box with an onchange function that enables and shows / disables and hides a label and textbox next to it. When the select box's value is "1", the label is showing up correctly, but for some reason the textbox, although it is showing up, is not being enabled. What am I doing wrong?
The HTML:
<select name="viewMap" id="...
I'm using a simple jQuery script for tabs:
The JS:
$(document).ready(function() {
$(".tab-content").hide();
$("ul.tabs li:first").addClass("active").show();
$(".tab-content:first").show();
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active");
$(this).addClass("active");
$("....
Hi all,
I'm making a script which has one ajax call inside an each function. The problem is that on the success callback from ajax call, I want to use the object that we are using at each function.
EDIT:
Here is some of my code:
configs={
general:{
max_ads:6},
logs:{
selector:"div#MicrodualGetAd-debug"},
connection:{
...
Opera is the only browser giving trouble with this jQuery statement:
$("select").load("options.html",function() { $(this).val("de"); });
The SELECT does not fill with ANY options. It is blank. Worse, I can turn on DragonFly in an effort to trace it down, and the problem disappears. The options are displayed as they should.
Anyone ...
I am trying to make a carousel of sorts. I am kind of stuck with hiding and displaying the next and precious buttons once a div moves to the far left and right of its container.
I think i have everything correct regarding calculating the widths but for some reason when you click the buttons, elements stay hidden irrespective of the cond...