On the front page of a site I am building, several <div>s use the CSS :hover property to add a border when the mouse is over them. One of the <div>s contains a <form> which, using jQuery, will keep the border if an input within it has focus. This works perfectly except that IE6 does not support :hover on any elements other than <a>s. So,...
Coming up with a server side JQuery plug-in is proving to be a bit brutal. I have looked around for one but they work off static information. Does anyone have a good free server-side Auto suggest for JQuery?
...
I am sure this has been discussed repeatedly, but I am stumped. I am using jQuery to make an AJAX call to an ASP.NET Web service which returns some HTML. That part is working fine.
I want to do some calculations on the height of the HTML returned, but when the the call happens for the first time I am getting a height of 0. I know my cal...
I have an ASP.NET MVC form that returns a report as a File(...) result. This means that the browser stays on the current page after the file download is triggered. Using jQuery, I would like to disable the submit button and then re-enable it after the file returns.
My code already disables the button just fine, however, I'm unable to f...
Why isn't this script working?
$(function() {
var isbn = $('input').val();
$('button').click(function() {
$("#data").html('<iframe height="500" width="1000" src="http://books.google.com/books?vid=ISBN' + isbn + '" />');
});
});
As you can see, I'm trying to do an extremely simple ISBN lookup field for a demo web s...
Is it possible to use the JQuery Slider (range slider / dual slider) to have non-linear (non consistent "step" size) values?
I want to horizontal Slider to look like:
|----|----|----|----|----|--------|--------|-------------------------|--------------------------|...
0 500 750 1000 1250 1500 2000 2500 ...
I have a problem with jquery not loaded in an asp user control.
I want simply to add the click event when a checkbox is clicked.
Here is my javascript file
$(document).ready(function() {
var arr = jQuery(":checkbox[id*='drpAccountType']");
for (i = 0; i < arr.length; i += 1) {
$("#" + arr[i].id).click(function() { ale...
Is there a way I can mark JQuery Flexigrid columns as sortable if I don't define them in-line?
i.e. I know I can do this
$("#flex1").flexigrid(
{
colModel: [
{ display: 'Col1', name: 'Col1', sortable: true },
{ display: 'Col2', name: 'Col2', sortable: true }
});
But I construct the grid jus...
I have the following CSS which isn't working in IE7.
input:focus{border-width: 2px;border-color: Blue; border-style: solid;}
Basically, I just want to set the border attributes when the input is focused. Works in Firefox etc... If anyone could explain why it isn't working in IE 7 and suggest a possible workaround it would be appreci...
Hi,
You know how some sites fade in /out color on a error message, how can you dothat with jquery?
The point is to draw attention to the user about the message.
...
Hi,
Using jQuery, I am referencing a particular ID and then I want to add a message AND use fadeIn to change the color of the background to yellow.
So far I have:
$("#myID").empty().append("<p>Please login</p>").fadeIn("slow");
So would I now be using the CSS method to change the color of the background, fadeIn, then fadeOut to whit...
$('').click(function(event) { ChangeXYZ(event); });
Problem with above is i do not want event but i someother var.
$('<a/>').click(function() { ChangeXYZ(var123); });
But problem with line is, it is getting value of var123 at runtime and as i am adding this in loop so always end up using last value of var123. Looks like it is using ...
Our project is developed with seam. Customer changes the UI and provided the UI prototype using jQuery. Now we are facing lots of trouble integrating jQuery into seam. Customer wanted more rich UI.
(1) How do I create modal-popup in seam. Any basic code??
(2) How do I call partial submit (or ajax call) using jQuery? In other words how d...
I have always used the Scriptmanager to handle all AJAX calls, but I am starting to expand and am playing around with using jQuery and JSON to consume an ASP.NET 3.5 Web service. I am using standard jQuery calls as you can see below, which is working wonderfully. I am concerned about security and how to ensure that I am not opening any d...
Hi,
$("#displayPanel #save #saveForm").live("click", function(){
//Move to forms/homepage
});
Wat i m trying is to WHen clicking on the saveForm Button i want to move to a URL(homepage) Where ii had some list of saved forms..
I m new to JQuery ..Please suggest me..
Note:
Where my saveForm is like
...
Hi,
I have a problem trying to get JQueryFileTree to work,
http://abeautifulsite.net/notebook.php?article=58
I have set the root folder to the images/ folder inside my working folder, can someone please help? There are no jQuery or Javascript errors, I am sure the error is in teh JSP file or to do with the directory permissions, eve...
Anyone know how to format the columns on a flexigrid?
http://turbogears.org/2.0/docs/main/ToscaWidgets/Cookbook/FlexiGrid.html
the colModel doesn't seen to have any formatting params
I want to do simple things like format my date col with "{0:dd MMM yyyy}"
...
I was trying to make a kind of background in which some clouds were moving, but after I got the clouds moving I found that I should either make them stop and return when reaching the browser's max width, or make them disappear. I was trying to get their position but I can't manage to get all the positions dynamically. Right now (for the ...
Hi
I have
<a href="test.php?id=2" class="confirm_delete">Click to proceed</a>
and following javascript. When I click on above link it displays the dialog box with 2 buttons. "return false;" stops the default event of link tag. But I need the functionality in which when I click "Yes, delete" to take me to other page by choosing href ...
$('.ajax').click
(
function()
{
// If been bound then we need to return here.
alert(':D');
}
)
$('.ajax').click
(
function()
{
// If been bound then we need to return here.
alert(':D');
}
)
In this case, I have called duplicate code. How do I detect if the event has...