I'm creating a blog, but I need box-shadows for my boxes, so I'm asking the following.
Is it good to add shadows via a)images/css or b)javascript?
I've heard that lot of people don't have javascript enabled while browsing, so is there this a problem? It would be easier and simpler to create these shadows with javascript than adding a m...
I know the user of my app has a local file named c:\sourcefile.cs, I need to find a way to render a link to that file so that when he clicks the link, it will open the file in Visual Studio.
This is for internal use in our dev team so I don't mind using unconventional means to do that if there is no standard way to do it.
The solution ...
I have 100 inputs with name - table[].
How to get their value with jQuery,like $_POST['table'] ,as I do in PHP.
I tryed
Code:
$("input[name='table[]']").each(function()
{ document.write($(this).val()); });
but I want to get them as an array.
...
i have this code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Test jQuery</title>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(function...
hello!
on my page i have dataTable, which was initialized with, for example, sAjaxSource url like "/api/reports". when we're doing sorting, filtering it appends to url additional query-keys. I want do add keys "date_from" and "date_to" to sAjaxSource url (date intervals could be changed after table initialization).
is there any entry-po...
I'm trying to use the following code to make an image fadeOut and, only when it's faded out, change its source, and then make it fadeIn again:
$('.liitem').click(function() {
$('#imagen').fadeOut('slow', function() {
var rutaimagen = $(this).find('a').attr("href");
$('#imagen').attr("src",rutaimagen).load(function(){
$('#im...
Using the following source:
<div id="addons">
<div class="addon">
<span class="title"><input type="checkbox" value="addon_1" name="Item 1 title"></span>
<span class="cost">$<em>20</em></span>
</div>
<div class="addon">
<span class="title"><input type="checkbox" value="addon_2" name="Item 2 title"></...
Hi,
I was just wondering if anyone had any experience with more customized/specified theme rolling?
I am just getting into jquery UI and I'd like to, for example, roll a theme where the dialog styles differ from the rest of the theme.
Thanks for any guidance.
...
Hello,
I was having problems with the DOM since elemnets inside of google visualization tables/graphs were loaded before jQuery.
Therefore, i realized that i need to load google visualization before jQuery .ready()..
Loading Google visualization is done by:
google.load("visualization", "1", {packages:["linechart","table","piechart"]})...
I am working on a jquery dropdown widget. I found a bug where if you click on a native select box, then on my widget, neither focus nor click are fired. My select box is just a skinned input tag.
I have a demo of this happening. Open this page in firefox with firebug console output enabled:
http://programmingdrunk.com/current-projects/...
Not sure what I'm doing wrong with .live()
$(function(){
var wrapper = $('#trailer_wrapper');
var button = $('h2 a');
button.click(function() {
wrapper.fadeIn(2000);
button.addClass('selected');
button.text('close ×');
return false;
});
$('h2 a.se...
I see a ton of questions about uploading multiple files, but none about uploading a single file to multiple servers, so here goes...
I have an ASP.NET app that will be running on two load balanced servers, and I would like to allow users to upload files and have them end up on both servers. What is the cleanest way to do this? I am usin...
Hello everyone, I'm in a bit of a rut, i've searched high and low for a JQuery method to change the background color of an item in a drop-down menu (<select><option>foo 1</option><option>foo 2</option></select>) on hover. How am i supposed to do this?
...
Hi.
Based on this tutorial at:
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/
Can anyone pls assist as to why my content always shifts to the left and doesn't
stay centered?
By this I mean the whole content div starts from the leftmost side of the browser window and then returns ba...
I am using jQuery to add placeholders to each text box on a page. I could just use $(document).ready() and then iterate through all the elements locating all those with the placeholder attribute and then adding the events to that element but this means that the user could click on the text box before the jQuery code is applied.
So I wo...
Hi, let's say I have a simple javascript like so:
$(document).ready(function(){
if(login == "1") {
showExtMenu(); //Show the logged in user the extra menu links
} else {
showRegMenu(); //Show the user the regular menu
}
});
showExtMenu and showRegMenu populates an empty div with some html code. My question is, will...
$("a").hover(function(){
$(this).animate({
'padding-left': '+=10px'
}, "normal");
}, function(){
$(this).animate({
'padding-left': '-=10px'
}, "normal");
});
I have the above piece of code, which would normally animate the padding of an "a" tag on hover. This works fine in Chrome, but not on Firefox nor ...
I have a structure like the following:
<form>
<input type="text" />
<input type="text" />
...
<input type="radio" />
<input type="whatever" />
Here I have some text
</form>
I cannot change the structure of the HTML. I need to remove via Javascript the text inside the form, and the problem is to select it, since...
Is there a way to show the selected slider value on top of the selection? It doesn't appear to be supported by default.
...
Hello, I am trying to turn specific words or phrases into links with jQuery. So far I have only been successful in changing a span with a class="link" to an anchor tag after a hover event. My problem is that I want them to change when the page loads. As an added benefit it would be nice to target any words or phrases without having t...