In IE6 and IE7 my fadeTo is just flickering... I'm fading a background image on a div, and I'm fading an img that rests inside that div.
The idea is to make it look like its fading from one color to the other.
I would love to post my code here but this site's code preview tool is broken to all hell every time I paste it in there the fo...
An OnClick event calls the following datepicker function. If an alert is present then, it works fine. Otherwise, it does not show the calender as required. Is this a timing issue?
function changeStartDate(Item){
alert ("alert goes here");
$("#datepicker_" + Item).datepicker({
dateFormat: 'M-dd-yy...
I suspect this is a bug in jQuery, but just putting it out there incase someone knows of a way to get this to work.
I have a link which causes the user to download a file. When this link is clicked and the download begins, any pending ajax request seem to be cancelled. In FF, the error/complete events are invoked and I can handle the ev...
I have the following:
$('#widgets ul').sortable(
{
connectWith: ['#widgets ul'],
opacity: 0.7,
start: function(e, ui) {
fromWidgetPosition = ui.item.prevAll().length + 1;
fromRowId = ui.element.attr('id');
I just upgraded jQuery from 1.2.6 to 1.3.2, and I also upgraded the jQuery UI library to the latest version.
...
I would like to submit a form using jQuery and submit it to a controller action for processing, to include all the model properties, is this possible?
...
jQuery now allows you to use live to handle custom events, something I've used in my latest project and found very handy. I have come up against a limitation/bug, however, that I'm hoping someone will be able to help me with.
When you trigger an event, you can pass additional array of data too, like this:
$(this).trigger('custom', ['f...
i use win7 + VS2008 PRO to edit my blog (php) and i can't seem to get this work.
i tried installing the patch (inteli hot fix) but it says no need to install (i have pro sp1) this is the folder structure:
js
common.js
jquery-1.3.2-vsdoc.js
jquery-1.3.2.js
i working on a blog (not asp or html) so i created a common.js file th...
I am using the jQuery RoundedCorners and it works great.
Since I am doing AJAX calls I wanted to continue rounding my corners on the divs
that I am appending with my AJAX callbacks.
To get rounded corners I use this syntax
$(document).ready(function(){
$(".item").corner();
});
Since the document is already ready while I am making...
I have a picklist web interface: a pair of select elements with a pair of buttons (a left-pointing arrow and a right-pointing arrow) between them. Users can move items between the two columns by, eg, selecting one of options in the left column and clicking on the right-pointing arrow.
Now I have an enhancement request: someone wants to...
$(document).ready(function(){
$("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank");
$("a[target!='_blank'][target!='_top']").click(function(){
$("#actualcontent").load($(this).attr("href"));
$("#nav").load('nav.php');
window.location.hash=$(this).attr("href");
return false;
});
});
This c...
There is a checkbox created by html helper in MVC view:
<%= Html.CheckBox("Choice", false)%>
Then Want to get the checking status of this this checkbox in js using jquery, how to write the code?
...
I have an image tag that looks like this:
<img src="http://www.example.com/render/pattern?obj=patterns/pattern_1&color=7F8C6C&obj=patterns/pattern_2&color=C8D9B0&obj=patterns/pattern_3&color=FFFFD1" width="100" height="100" alt="" />
Is it possible for me to use jQuery/Javascript to search the src attribute to find...
Hi,
I have very strange problem and that problem occurs very rarely and that too in our production env.
The production env. setup is,
Apache Web Server as front layer
Apache Tomcat 6.0 as application server (liked with Apache Web server via mod_jk)
I have custom made Ajax based RPC component where we use jQuery for ajax calling. The ...
Has anyone been successful sending a web2lead form via ajax submission (jquery ajax object)?
I'm having a heck of a time getting this to work.
I have a form on a page that submits to salesforce without ajax, just fine.
When I add in jquery's plugin for validation and then use jquery's $.ajax function to submit the page, NOTHING. (i kn...
When a link is clicked, I want to clear the php session before redirecting to the destination page.
The way I thought of doing it is by loading a php script that clears the session with ajax in the origin page and once that script has loaded, to redirect to the destination page.
Here is the code I have:
$(document).ready(function() {
...
I have a form with two input fields and a tag cloud.
I want the user to put focus in the first input, then click a tag thus triggering a jquery function that puts the clicked-on tag in the first input. Then the user focuses the second input, clicks a tag triggering a similiar jquery function to put the second tag in the second input ...
I'd like to intercept the onclick event of a button (not submit) before the page posts back from the onclick.
I'm having some trouble:
$(document).ready() { function() {
function validate() {
...
}
var oldOnClick = $("input[value=OK]").attr("onclick");
$("input[value=OK]").attr("onclick", "if(!validate()) { re...
So ive been trying to debug this friggin spacing issue for the last 4 hours.. and I cant friggin solve it!!!
If you go to http://myurbanlunchbox.com you will see right away what I am refering to. The image slider has spacing issues, but only in IE6 and IE7.. (as usual).
Can anyone point out where im going wrong?
...
I have a blind function that lowers and raises a div. It works great but I want to make it so that the div will go down all the way except 30px and open all the way. How would I do this?
//* JQuery *//
jQuery.fn.blindToggle = function(speed, easing, callback) {
var h = this.height() + parseInt(this.css('paddingTop')) + parseI...
Hi guys,
I'm trying to to display a chart (generated using flot) in a modal dialog box. The plot is a blown up version of a smaller chart. From my initial attempts I can't seem to display a chart.
Would this be a limitation of the canvas tag?
Any ideas?
...