When I develop application, I want to use jquery-1.3.2.js, and when I deploy it, I want to use jquery-1.3.2.min.js?
What is the best way to switch between two without manually commenting and uncommenting one.
Thanks.
...
What's the best way to find out if a user is not using IE 7 or 8, Firefox, Safari, Chrome or Opera?
I want to show a message if they are not using one those browsers. In this case is it just easier to use browser sniffing?
...
I have a structure like this:
<div class="module">
<div class="moduleTop"></div>
<div class="moduleContent"></div>
<div class="moduleBottom"></div>
</div>
And each module section has a CSS property of
background: url (imagename.png);
I need to use jquery to change each of the image names of the 3 module pa...
Hello,
I am trying to dynamically check and uncheck a box with jquery .
The ideal situation would be that if edit project file was clicked this would show the field to upload a new image (edit_project_image) was active ie not removed via either a click again on (edit_project_image) or a click on (remove_edit_image). Also if there is a ...
I have the following two event happening when my "export" url is clicked. No matter how I try, I can't combine the two without receiving a "hey, you're missing a comma or semicolon somewhere"-error. Can anybody suggest a way to combine the two, or should I just leave them separate as they are now?
$('#export').click(function() {
$....
Hello guys,
User.Identity.Name returning empty string in Firefox. In IE it's working fine. I have an ajax call to controller and used the Identity to fetched data from DB. Problem is it will always return an empty string in Firefox. I already assigned cookie name in my webconfig under .
Your reply is greatly appreciated
Very Best,
...
I am trying to setup a fairly simple (imo) Javascript GUI, and am running into issues. I'm using jQuery. Here's what I want to do:
Have a bunch of squares next to some text, like this:
[ ] Text next to square
[ ] Text next to square 2
[ ] Text next to square 3
[ ] Text next to square 4
When you click one of the squares, an absolutely...
I am about to begin development of a new website and have been doing research on PHP Frameworks. I'm not an advanced PHP developer, but I have been developing web sites and apps (in asp.net) for a few years now.
My website will primarily be AJAX-based (using jQuery) and making lots of calls to web services. After some research, here's ...
Consider an ASP.NET page using the jQuery library Uploadify.
Here is the sequence of events on the ASP.NET webforms page:
User clicks on a file upload control. Plain old HTML <input type="file" />
User picks an image file from their system using a Browse dialog. All working fine.
A jQuery event fires. It calls an ashx that properly u...
Hi folks,
I have got an issue with our beloved browser IE (all versions) and the tab ui control from jquery. I load my content for the tabs with the ajax option. Problem now is that i have to do that synchronously so each request after another cause async. doesnt works for me or just very buggy. But this is not the problem. The issue i...
my table has the following html
<table class="tb" id="tb1">
<tr>
<th scope="col">OrderID</th>
<th scope="col">ProductName</th>
<th scope="col">Quantity</th>
</tr>
<tr>....</tr>
When i click only on either OrderID, ProductName or Quantity i.e heading, I want to apply a css class to entire column.
...
Is there anyway to check if the character at the cursor in TEXTAREA is a "space"? If it is, return TRUE. Let me know how to do this using jQuery.
Thanks
...
I have a project that I am working on where I am not able to use jQuery. Since using jQuery, I have become very acustomed to the way that parameters can be set in a function. It is very nice doing it the "jQuery" way, so that it does not matter the order, or even if you use all defaults like a normal function method would need.
So, my ...
Hi there,
i have some controls on my view like so:
" ><%=Html.TextBox("Name")%>
" ><%=Html.DropDownList("Intensities")%>
How can i retreive the values of these controls with JQuery?
Something like:
var name = $("#name" + id).val();
alert(name);
...
Can Somebody please tell me why this script is not working.. Its supposed to work, but doesnt, I am getting the id correctly, but Div's are not displaying properly.. My idea is to display one div based on the click, and hide the other Div's. Please help..
Script
$(document).ready(function() {
$("a").live("click", function(){
va...
I'm a noob with jQuery...and I hope I've explained this well enough; I have a <ul> header that appears when I've added an entry to a dynamically created list using $.post. Each entry added has a delete/edit button associated with it.
Header is this:
<ul class="header">
<li>Month</li>
<li>Year</li>
<li>Cottage</li>
</ul>
...
Hi,
I'm working on a table where all rows have at least one class. Some rows have two classes and others have a class and an id.
I have a simple bit a jquery to hide and show rows onclick, however when all the attributes are set, nothing happens.
If I remove the additional attributes, so that only those in the jquery script are used...
I want to load some HTML which include a bit of javascript, using jQuery. I've tried using both load() and ajax(). The HTML is inserted nicely into the DOM, but any script-tags seems to be filtered out. If I alert() the returned HTML, the scripts are included, but when i use html() or append(), the scripts are missing.
Any ideas?
...
Hi,
I'm using jquery and uploadify to upload photos to server. After uploading photos they are added to a div container using ajax. Everything works great except DELETE button. All delete buttons work on page load but those added via ajax don't work. I suppose that's because I defined function that enables image deletion and didn't use '...
I would like to know what are some downsides using too much JavaScript code in a web page?
For example, I will use a jQuery framework for my dropdown menus, tabs and accordion. And other JavaScripts for my calendar (even-though there is available calendar that uses jQuery) and other JavaScript for other stuff? What is the effect? (My o...