Hello all,
I am trying to make use of this JQuery plugin: http://bit.ly/2TXYrb
I have tried to implement it but I get an error reported by firebug.
f(window).scrollLeft is not a function
[Break on this error] (function(f){f.fn.qtip=function(B,u){var...asses:{tooltip:"qtip-blue"}}}})(jQuery);
Please have a look at my setup: http://bi...
Hey All,
I have a partial view that contains an img like so:
<img src="" alt="test" id="chartImage" style="display: none;" />
And then in my view that contains it my javascript looks like this:
if ($(this).val() != '') {
setTimeout(function() {
$('#chartImage').attr("style", "")
...
Hello Guys
I Need to do cross domain Ajax request - Here is my code
$.ajax(
{
url: redirectURL,
data: $('#login-container form').serialize() + querystring,
type: 'post',
cache: false,
dataType: 'jsonp',
jsonp: 'jsonp_callback',
});
Error: [Exception......
I'm using the JQuery Form plugin to do a file upload on an ASP.NET MVC application. I've learned that since an iframe is used for file uploads (rather than XMLHttpRequest, which isn't possible), the server-side check for IsAjaxRequest fails.
I've seen a few posts related to this question but haven't come across any good solutions to wo...
How would I disable all links with the button class after they are clicked once? I'd like to be able to do this in one place, and not have to change all of them individually.. any ideas?
So far I got this:
$("a.button").click(function() { $(this).attr("disabled", "disabled"); });
$("a[disabled]").click(function() { return false; });
...
I am struggling on the following objective (I am a new bee to JQuery).
I would like to have a parent container (say DIV) to increase its height automatically when any (or all) of its child controls resizes. The DIVs may contain both inline and absolutely positioned elements (even relatively).
In other words, the container should autom...
hi,
i'm trying to capture keystrokes inside my prototype function, here's my code:
function txtBox(input) // pass textbox
{
this.id = "myTextbox";
this.txt = input
}
txtBox.prototype.init = function()
{
this.txt.bind("keyup",this.keyup);
}
txtBox.prototype.keyup= function(event)
{
alert("keycode: event.keyCode);
...
Hi. How can I set a custom filter in my code to ignore accents and special character from the table before filtering?
I am using DataTables plugin (http://www.datatables.net/)
...
I have an HTML page with a web form. Among other things, it includes the following form fields:
Title - textbox
SourceName - textbox
Url - textbox
FullText - textbox
PublicationDate - textbox using jQuery datepicker UI
StartDate - textbox using jQuery datepicker UI
EndDate - textbox using jQuery datepicker UI
I am trying to implement...
I am having a text field for date. Now i would like to mask this text field so that a user can input only date value. I even found a jQuery plugin for this. But that doesn't seems to help, as you can input 22/22/2222 in the field that too is accepted by this plugin, which is obviously not a valid date. What is the possible solution?
...
Hi,
With jquery, I'm dynamically adding rows. To do this, I'm copying the first of the table and then with some regex I'm changing the names and sometimes ids from thing like "column_name[0]" to "column_name[1]". This is the regex that I'm using:
newRow = newRow.replace(new RegExp("\\[[0-9]+][\"\']", "gm"), "[" + $("#rowNum").val() ...
http://ftp.crashboxcreative.com/ftp/EastsideBaptist/EBC-Final/
I'm having a lot of trouble with a simple jquery show/hide effect.
When you hover over the slider, nav buttons fade in. Likewise, they fadeout on mouseleave.
The problem is, they fadein/fadeout when you hover over a button!
How can I make jQuery ignore a hover over the b...
I've created a JavaScript object to hold onto a value set by a user checking a checbox in a ColorBox.
I am relatively new to jQuery and programming JavaScript "the right way" and wanted to be sure that the below mechanism for capturing the users check action was a best practice for JavaScript in general. Further, since I am employing jQ...
How would I resize a image in jQuery to a consistent aspect ratio. For example setting maximum height and have the width resize correctly. Thanks.
...
I have a textbox where a user inputs a number, like: 105.14 When I use jQuery to read it:
alert(parseInt($("#Info").val()));
It displays "105".
Why can't I get the remaining .14????
I'm sure it's something obvious....
...
The code segment is from a page called "sites-catchup.html".
There is a simple server side page called "max-change-num-ajax.html" which returns a single number (without any html).
If the page is requested by calling http://tiddy:8080/rsm/sites-catchup.html then it all works.
However if I call http://localhost:8080/rsm/sites-catchup.htm...
I am trying to create a hover over action which brings in a coloured image and also once the hover is removed it fades back to its original image.
Currently it fades out the image to nothing and then fades the new one in. This will then stay in place regardless of whether i hover off or no.
//Loop through the images and print them to t...
Do I need to somehow escape a space when using jquery to select with contains/find?
I am mocking this up so pardon the typos...
If I have a SELECT tag that has some options
<select title="animals">
<option value="Dog Black">Dog Black</option>
<option value="Cat Black">Cat Black</option>
<option value="Dog Brown">Dog Brown</option>
</se...
What?! I know, what a bad idea.
Firstly I have no control over the html that was output, its from a vendor and it is produced via their crazy system that our company has an agreement with. (let's not talk about the situation, I know it's not optimal)
In the html I have:
<a id="notify" onclick="location.href='index.php?foo=bar';retur...
Without going in to detail on what these methods do, can anyone tell me why I get these weird results?
getCurrentIframe().findInIframe("h2").css("paddingLeft") // gives me "20px"
how ever if I do .get(0) or [0] to get the dom-element and then rewrap it in a $ I get:
$( getCurrentIframe().findInIframe("h2")[0]).css("paddingLeft") //it...