jquery

Charset issues for jQuery XML translation

Iam using a mixed approach of manual language translation, and google translation using jquery-translate libray. I have gotten the google method to work correctly, but google is missing some languages my employer's client requires... So I am using jquery to read an xml file that has english + french canadian languages, for a sample page...

Experiencing difficult to reproduce bugs with jqUploader and am considering switching to Uploadify. Thoughts?

Hi, I've used jqUploader for a while but I find that it will occasionally fail to work on certain browsers on certain machines or will not work properly when using HTTP Basic authentication. I've tired of trying to get this to work properly and am considering switching to another (hopefully) less buggy uploader. I've looked into Uploadif...

How to retain context across an Ajax call

I need to make an Ajax call and have the response update a child of the DOM element that was clicked to trigger the event. Sample HTML: <div class="divClass"> <p class="pClass1">1</p> <p class="pClass2">Some text.</p> </div> <div class="divClass"> <p class="pClass1">2</p> <p class="pClass2">Some text.</p> </div> <div class="divC...

jQuery Sortable+Droppable vs Draggable special functionality

Hello - I'm trying to make a functionality that allows for a draggable list of items (left column) to be dragged onto a sortable list (right column). What is different about just doing a connectToSortable is that I need the sortable list to ACT like a droppable list, in that the order of the items is retained on the right column ONLY whe...

best jquery rounded corners, working on divs & tables?

Hi, I must have tried about 5 different plugins, each having downsides. Firstly I need it to work on a div with a specified height, and still round the corners if there is no content. Secondly it needs to work on tables (havent found any that "work") I dont really want to use images, as this means 4images for the main content div then 4...

Hiding tr tags within div tags using jQuery

EDIT I am editing this as it appears the many are focosing on the html formatting instead of the question. My apologies Yes of course the div tag is sitting inside a table and yes of course the hiding of the tag in jquery is called once the DOM has been loaded The Jquery is as follows; $(document).ready(function() { //naturall...

Calling Javascript function

Extending a website I didn't build. I want to be able to call the ShowWindow proc with a parameter. How would I do that? New to JQuery and Javascript. default.aspx <script type="text/javascript" src="/scripts/jquery-1.2.6.js"></script> <script type="text/javascript"> $(document).ready(function() { $('a#ShowWindow').click(function(...

How to get a callback working with SimpleModal

I've been unable to catch the onclose from within simplemodal. please give me a hand if you can as i'm new to jQuery... <a href="http://url/" onclick="$(this).modal({width:833, height:453}).open(); return false;"> works, but i would like to call a javascript function whenever the modal dialog is closed. How do i attach, say updateTa...

Problem parsing XML output (PHP/JQuery)

I scratch my head in frustration, but I can't find the answer. I'm new to Ajax and I'm trying this easy script: Here's my code: JAVASCRIPT: $(document).ready(function(){ $("#toggle_album").click(function () { $.post('backend/load_album_thumbnails.php', { text: 'my string', number: 23 }, function(xml...

Detecting if mouse position is within a set of position rules?

I have some JavaScript objects such as this (it's psuedo so I know if syntax is wrong): [{ "divid":"1","x1":"35","y1":"100","height":"150","width":"150" }, { "divid":"2","x1":"45","y1":"110","height":"150","width":"150" }, { "divid":"3","x1":"55","y1":"120","height":"150","width":"150" }, { "divid":"4","x1":"65","y1":"130","height":"150...

How do I select more than one element using the jQuery attribute selector

I have two elements that I would like to select <input id="iMe" /> and <span id="sMe">Blah</span> I would like to select them both: $("span[id$='Me']") and $("input[id$='Me']") in one selector. I've tried: $("span,input[id$='Me']") -> Nope $("span[id$='Me'],input[id$='Me']") -> Nope $("span[id$='Me']input[id$='Me']") -> Nope I ...

How to have jqgrid cell overflow behave like an html table

I have a jqgrid and some of the cells have a good amount of content in them. It seems that jqgrid's default is to have the overflow hidden and to not have the text wrap to new lines (if needed). Is there a way to allow jqgrid cells to expand as needed? ...

Using jQuery UI's dialog("destroy") puts element in wrong place?

I have a big form with many parts. For each part, I want to add a small button "Popup as Dialog" which will convert that part to a dialog on-demand, and then (when closing the dialog) to return back to the form with the new inputs. I am using jQuery UI's dialog() function. The pop-up parts works fine - the sub-form converts into a dial...

Jquery Uploadify checkscript

I am trying to implement the checkscript feature of uploadify in an asp.net mvc view but i can't determine what the key is i should be using on the controller side. Below is the php script but i am not very familiar with php and can't determine what php is scraping out of the httprequest. Has anyone implemented this? The documentation is...

jQuery, Filter on Table

Hello, I have 1 problem , I've taken one jquery plugin (filter on table). This is URL : http://gregweber.info/projects/demo/flavorzoom.html But I have a little bit different case: Instead (textbox) I use (dropdawn menu) <select class="filter_tb"> <option value="">All</option> <option value="6-K">6-K</option> <option ...

Display Database Image in a Popup Dialog

Hi all, I currently have a view which contains a table looks something like this: <table> <tr> <th>Id</th> <th>Name</th> ..... <tr> <td>11233455</td> <td>Alex P Keaton</td> </tr> <tr> <td>1123455</td> <td>Jim Halpert</td> </tr> ..... </table> What I would li...

retrieving data needed for ajax call for multiple lines

Hi, I have a table with many rows. When u click on these rows they open up more detail about the row you click in. This could be based on an int or string. I have wired jQuery up to anchor tags on each row which the user will click on. However previously when using javascript inline you would pass something like this: <a href="javascr...

jQuery - Video interferes with dropdown?

I'm trying to get a dropdown menu to open when I hover over the parent link, and it works, except that when there's a video on the page, it doesn't seem to work... I'm not sure why. I've tried playing around with the z-indexes, but nothing seems to work. The submenu items just kind of blink in and out, but the whole menu doesn't stay ...

jQuery UI confirmation dialog and asp.net postback

I have a delete button in a gridview. For those not familiar with asp.net my delete button outputs like so: <a id="ctl00_cp1_dtgrAllRates_ctl02_lbDelete" class="lb" href="javascript:__doPostBack('ctl00$cp1$dtgrAllRates$ctl02$lbDelete','')"> Delete</a> I have a confirmation dialog hooked up to all the delete links in the gridvie...

Jquery , Ajax and Live Function issues....

Hi y'all.... got a question.....!! i'm aware that if u r loading a div within a page with form elements using ajax, then u gotta use the live function to add events to those elements that were not in the dom tree.... and also i read in the jquery website that live function does not currently support focus, blur etc.... my question is...