jquery

JQuery Truncate V2.3 issue

Hopefully this is a new question, if not, please point me to the answer. I am using jquery.truncate-2.3.js in a website. I am using the script to truncate/expand text in many stories, each in a div tag. The story text within the tags is coming from an RSS feed (using the RSSFeed ASP.NET server control), and dropped in like this: ...

Quick Jquery Question: Scrolling

Hey, I am working on a site, the demo is located here: http://waterwing.waterwing.ca (Please ignore the other 2 pages, they are far from finished). Anyways, The scrollable on the home page works fine except for the fact that anything you click within the scrollpane will move the scroller. I need to make it so that only the arrows will ...

Kill JQuery AJAX overlapping requests

Hi All, Is it possible to kill a previous ajax request? We have tabular data very adjacent to each other. On mouseover event of each data we are making a request to our server using JQuery Ajax object and showing in popup. But as frequently we move mouse to other tabular contents previous Ajax responses are being displayed inside popu...

Return data from jQuery callback ASP.NET 2.0

Hi I am new to jQuery and I am implementing an example I found on CodeProjects. What I need is to get a string with an imagename and new image index returned from the PageMethod I am calling. However each time I try to return something else than a number via Response.Write the callback fails and I go into the error function. $(documen...

is there anyway to remove the Search bar and footer in the jquery datatable plugin

i am using this but i want to remove the search bar and footer (showning) how many rows there are visible. I basically just want to use this plugin for sorting. http://www.datatables.net/examples/ ...

Adding different data to different jquery tabs

i have 2 functions 1- addMessage(): save data into database and is called only on click . 2-updateMessage():get data with ajax from database, called when document is ready ,called every 3 seconds for new data, and called on success of addMessage(). function updateMessage() { $.ajax({ url:"db.php", type:"post", dataTyp...

Jquery Tablesorter: sort numbers above letters

Hello, I work with jquery tablesorter to display music charts. So i have some columns with artist - song - chart position. The column chart position contains mainly numbers; but when a song is not listed in the chart is gets the value "-". This creates a sorting problem when i want to sort the column, because the values "-" will be sor...

Jquery: Problem passing XML to function using $.get

Hi there, I seem to have an issue passing the xml i am reading to a function.. Basically i have this, this seems to work $.get("content/xml/faq.xml", function(test) { alert(test);// TEST CONTAINS THE XML }); but i really want to isolate the function and have the get call a new function but "data" in my function is und...

How to get <select> options either (value or text) using jQuery

Hello, i have a code for <select id='list'> <option value='1'>Option A</option> <option value='2'>Option B</option> <option value='3'>Option C</option> </select> and i want that how ever i select any option, it will show in an alert message. i have try <script type='text/javascript'> //var value = $("#list option[v...

alternative backcolor broken after sorting using jquery datatable plugin

i am using the jquery datatable plugin. i have the following code that sets up alternative backcolor on an html table. $('#dependenciesTabletr:odd td').addClass('odd'); $('#dependenciesTabletr:even td').addClass('even'); $('#dependenciesTable').dataTable({ "bPaginate": false, "aaSorting": [[2, "desc"]], "bJQueryUI": false, ...

jQuery matching pattern

I'm trying to validate my inputs with jQuery before a form is sent. This is what my input fields look like when there is no value inserted in the database: <input class="field" type="text" style="background-color: rgb(255, 255, 255);" value="" name="input_18748_388_1257894000_"/> This is what my input fiel...

jQuery slide div from bottom going wrong in Google Chrome

I have written my own image slider in jQuery that slides up a caption div from the bottom of the image. Please see the demo on the following link: http://beta.marhaba.co.nz/about When viewing this page in Google Chrome, you will notice how the caption div does not appear from the bottom of the image, but from below the image. To best u...

jQuery and .NET 2.0

Hi I made a .NET 2.0 Application using jQuery. However when I deploy it on my server that doens't have .NET 3.5 installed it doesn't work. I get no errors and have no idea how to debug it. I use jquery-1.3.2.min.js. Works perfect in my test environment and on my other server with 3.5 installed. Once it is uploaded to the production...

How do I get a value of a <span> using jQuery?

This is basic. How do I get the value 'This is my name' of the above span? <div id='item1'> <span>This is my name</span> </div> ...

auto page breaks when printing long pages with ruby on rails

hi all I have a rails app that creates quotations with information and images on that can be very different in size and the data they display. Each quote contains many setions of varying sizes. I need to find a way to auomatically put page breaks into the quote when printing so that none of th sections are cut into printing on 2 pages...

How to use jquery in palm mojo?

How do I do to be able to use jquery in my palm mojo application? ...

Client side (javascript/jQuery) file manipulation before/after upload/download.

I'm just sounding things out about this having looked around for a while and drawn a blank. I'd like to see if this is even possible as so far I can't see a way to do it. I want to encrypt a file locally (in the browser using existing libraries) before uploading it. Then I'll need to retrieve it and decrypt it before presenting the file...

jQuery - How can I temporarily disable the onclick event listener after the event has been fired?

How can I temporarily disable the onclick event listener, (jQuery preferred), after the event has been fired? Example: After the user clicks on the button and fires this function below, I want to disabled the onclick listener, therefore not firing the same command to my django view. $(".btnRemove").click(function(){ $(this).attr("s...

how to dynamicall add a row to an html table (with server data) on a dropdown cell in asp.net mvc

I have a dropdown cell and after clicking on an item i want to add a row to a html table. I did this using javascript: (addRowToTable is a basic javascript function) <script type='text/javascript'> $(document).ready(function() { $('#locations').change(function() { if (this.selectedIndex != 0) { v...

Javascript problem when mixxing Cutesoft Edit and Colorbox

I have a slight javascript problem, and this is the reason to why i dislike javascript. On my page i use Colorbox to popup a div with the possibility to add a new image. Then i use Cutesoft Editor as an Image Picker that opens a Window where the user can select an image. My problem is that the Image Picker window opens behind the Colorbo...