This is a followup question to the one here
Here's briefly what I am trying to do. The File server creates a text file to indicate an end of the process. On a webpage on the Web Server, I loop every x seconds and make an ajax request to find out if the test file exists (ajax request to http://fileserver/files/UserFile.txt)
I've tried t...
I'm authoring a plugin, and the plugin needs to do something like aggregate a set of jQuery objects. How does one do this?
For example:
<p><a>...</a></p>
<p><a>...</a></p>
With
(function( $ )
{
$.fn.myfunc = function( settings )
{
};
})(jQuery);
Within the context of the plugin invoked with $('p').myfunc(), how would ...
Hi there.
Is there any way to pass to deactivate: whether an element was dropped or not?
I want to stop an animation if the element wasn't dropped, but was let go (ie: deactivate without drop), but I want it to carry on if the element was dropped correctly.
Thanks
...
In the below code i send a json request for delete_st() on response i need that particular label and the two <br> to be removed.How can this be done
<script>
function manage_profiles()
{
var html = '<div name="tlist" id="list"><b>Profile</b><br><br>';
{% for groupid,empname,uid in response_dict.emp_arr%}
if('...
Hello,
I am fairly new to qTip and so far things look awesome for implementing.
I am trying to setup my contacts to have a mouseover like gmail has when you mouse over a contact is shows their picture and specific actions.
I currently have the code loading dynamically with the position target set to mouse, and have the hide set to fix...
Hi,
Would like to implement the following feature using jQuery scrollTo function or some other similar function that will achieve the same result.
I am basically going to have a DIV section on my page that will contains about 10 category URL links.
For example:
div id="categories">
<a href="A">Section A</a>
<a href="B">Section B<...
So, I'm using MVC.net to basically to query data by date range (from - to date) where I have some additional filters I'd like to apply once the data is rendered to my page. I've looked at "FlexiGrid" as a viable option, however I'm having issues with loading my existing JSON data onto it, seeing as the request method requires you to pas...
I've got a page of elements, each of which, depending on user interaction, may be animated away by the given function:
function slideAndFade(id){
$(id).animate({opacity: 'toggle', width: 'toggle'}, 500);
}
I want to create a reset function that brings all the elements back onto the page. Running all the elements through the toggl...
I was wondering if it was possible to make a small script in Jquery that would change an image at a certain time.
For my site, I want the image for the opening and closing of a facility to change when it opens and closes.
Is this possible with Jquery or should I go with something else? Actionscript/Flash? I can't use PHP on the site......
problem with IE which removes new lines from $("#content").text()
HTML Code
<div id="content">
<p>hello world</p>
<p>this is a paragraph</p>
</div>
jQuery Code
alert($("#content").text());
result (IE) IE removes new line (\n) how can i fix this problem ?
hello worldthis is a paragraph
result (FF)
hello world
this is a paragra...
My problem is I can't get this jQuery slider to start from .1 to 10 in .1 increments and end (stop) at 10. Would like to pull this off without jQuery UI or jQuery tools.
I plan to have the hidden input value updated using the slider position then a button that says "VOTE".
I appreciate any help with this project. Thanks, Brandon.
Here...
Hello!
I want to write a javascript function, that will make an ajax request to PHP script and returns it's result. That's how it looks:
function myjsfunc(some_data)
{
$.post(
"/myscript.php",
{ some_data: some_data },
function(response)
{
result = response;
...
I'd like to use the jquery calendar control to populate a date into an asp.net textbox.
When the user selects a date I want the date populated in the textbox to be only Saturday dates. So if the day they select is not a Saturday I want the date of the next Saturday after the date the selected.
How can this be done?
...
Hi Gurus
I'm trying to apply jQuery UI autocomplete to three input boxes at the same time since the request and logic is almost the same, only one parameter changes between them.
Since I'm using a remote source that is being retrieved with ajax I'm trying to be able to know from which textbox the request was made.
As you can see in th...
Hello there,
I got stuck with solving a seemingly easy issue.
http://jsfiddle.net/HAKvN/3/
By clicking the black box beneath the white bubble you're triggering an event causing an alert to be shown.
The white bubble represents a div with the red border indicating its boundaries. The bubble is a background image saved as a PNG file wi...
I am creating a site that utilizes the jQuery UI tabs. Whenever the user flips between the tabs, the tab they just left is posted back to the server in order to save the state.
One of the tabs in particular is a bit complicated in that, if I select a particular data option, other options need to be disabled. However, because of the POST...
I am making ajax call(ASP.NET 3.5) from dropdown change handler and trying to pass dropdown id into ajax call:
$('select.facility').change(function()
{
if ($(this).val() != 0)
{
var params = new Object();
params.facilityId = $(this).val();
$.ajax(
{
typ...
This is regarding jquery FullCalendar.
I want to access an event object loaded into the calendar by its id. So someone clicks, I trap it and get the id of an event within the calendar and I wish to load get that particular eventObject.
I think this should be simple, but I can't find a way to do it.
...
I'm using Rails 3 and JQuery 1.4.2 and am trying to bind to the ajax:failure callback on a given remote form submission. The callback works fine, however, the xhr variable that's passed back seems to lose the responseText attribute somehow.
Here's what my code looks like:
_form.html.haml
= form_for(object, :remote => true) do |f|
= ...
Hi all,
I am new to jquery and running a script on my homepage that determines the number of lines in a container (i.e. div). If the number of lines is over 3 or 4 lines (depending on whether div class is "threeline" or "fourline"), it will truncate it and add an ellipsis. However, this script is taking forever to execute so I'm wonde...