Howdy,
So I have a page with an enormous table in a CRUD interface of sorts. Each link within a span calls a jQuery UI Dialog Form which fetches it's content from another page. When the action taking place (in this case, a creation) has completed, it appends the resulting new data to the table and forces a resort of the table. This all ...
I have a text area in which users can type source code (html/css/js). I want to be able to let them click a "switch to fullscreen" link to make the editor fullscreen.
Of course, this should work on any resolution and must also resize when a users resizes it's window.
I found this plugin, http://plugins.jquery.com/project/fulltextarea, ...
Hi. I'm fairly new to jQuery. I have a Jquery datepicker in a user control. I have added a "disable" property to the datepicker. Whenever I save the page(having this usercontrol) the datepicker with disable set to true is empty. All other datepickers save fine.
Here is my code.
ASPX
< USERCONTROL:DATEPICKER id="dpBirthDate" startyear=...
I'm starting to write code using Prototype coming from a jQuery background. Is there any chart that shows the prototype equivalent method to use in place of specific jQuery methods?
More specifically, I'm looking for a $('#my-id').prepend('some stuff') equivalent in prototype?
...
My latest project is using a javascript framework (jQuery), along with some plugins (validation, jquery-ui, datepicker, facebox, ...) to help make a modern web application.
I am now finding pages loading slower than I am used to. After some js profiling (thanks VS2010!), it seems a lot of the time is taken processing inside the framewor...
I'm using SimpleModal plugin for Jquery and I have a weird problem with Firefox ( other browsers work fine: Chrome, Safari, Opera, IE).
What happens is when I click on the button that launches the modal dialog, before showing the modal (and the fadeIn of the overlay), there is a quick "flicker", less than half a second. (It's longer on ...
Guys,
I have this code below which works in firefox and all others except in IE. Am I making a syntaxt error somewhere? Can't seem to find it and its driving me nuts. Any help is appreciated!
$(document).ready(function(){
$("label:contains('Number')").html("Register:");
$("input[type='textbox']").each(function(){
var na...
I was wondering about the lifespan of a PHP script when called via Ajax. Assume that there is a long-running (i.e. 30 seconds) PHP script on a server and that page is loaded via Ajax. Before the script completes, the user closes the browser. Does the script continue running to completion, is it terminated, or is this a function of the...
This is a general design question about how to make a web application that will receive a large amount of uploaded data, process it, and return a result, all without the dreaded spinning beach-ball for 5 minutes or a possible HTTP timeout.
Here's the requirements:
make a web form where you can upload a CSV file containing a list of UR...
I'm trying to create a Login page, not worrying about actually logging in yet, but I'm trying to achieve the effect where there is some faded text inside the input field and when you click on it, the text disappears or if you click away the text reappears.
I have this working for my "Username" input field, but the "Password" field is gi...
Hello, I am trying to change the selected option in a select dropdown box with jQuery. I have it set so that it finds the hash tag at the end of the URL and based on that hash tag it changes the selected option in the select box.
Most of my code is functional, it successfully finds the hash tag and executes the if statement that corresp...
I'm trying to load up the estimated world population from http://www.census.gov/ipc/www/popclockworld.html using AJAX, and so far, failing miserably.
There's a DIV with the ID "worldnumber" on that page which contains the estimated population, so that's the only text I want to grab from the page.
Here's what I've tried:
$(document)....
I'm doing a couple of .getJSON calls and if any one of them succeeds, I'm trying to set a bool to true so I can then do some other stuff elsewhere on the page. I was trying to use jquery's .data() function, but I don't seem able to set it from inside the .getJSON callback. for example:
$('#citations_button').data('citations', false);
...
Is there a way to use a variable in the name= parameter.
I would like to be able to do:
var a = 1;
$("#gen_p").html($("input:radio[name='gen'+a]:checked").val()));
I am able to do $("#gen_p"+a) but not in the [name=??]
Have I missed something?
Thanks
...
I don't know what this is called so its hard to google for it.
If you have a plain html input type=text with a small width eg 20 and then type more characters than can be displayed, it shows the last characters you type. And the first ones are scrolled out of view:
This is my long text // this is the whole string
my long string // this...
Hi,
Could anyone please help me with this? I have a web page using .manifest for offline storage caching. In that page, I use jQuery ajax call to get the data from the server. If I first load the page, it is OK. I can switch between Online and Offline. But the problem is when I go back online and refresh the page. jQuery ajax cannot be ...
I just got IE6 sprung on me for a project that is going out into the wild soon, which means it's time to go back and comb through all of the CSS and JS. I've gotten hung up on the date object, however:
$.validator.addMethod("dateRange", function() {
var today = new Date();
var event_date_raw = $('#event_date').val();
var event_dat...
<input id='btnExcelRead' name='btnExcelRead' type='submit' runat='server'/> <- actually asp:button
<input id='excelUpload' name='excelUpload' type='file' />
<input id='txtStartDate' type='text' />
<input id='txtEndDate' type='text' />
..
$(function(){
$("#btnExcelRead").click(CheckValidation);
});
var...
I am relatively new to using jQuery and I have a problem with creating some sliding tabs to work with images that are floated inside.
http://www.dur.ac.uk/malachi.soord/jin/
The above page demonstrates the problem I am facing - click on the about tab and you will notice that the image that is inside is floated to the right - which I kn...
The .load() function of the jQuery library allows you to selectively load elements from another page (subject to certain rules). I would like to know whether it is possible to abort the load process.
In our application, a user can browse a list of items. They may choose to click a button which loads and displays additional information a...