jquery

jquery access to a user specific collection via table index?!

i have a table <table> <tr> <td class="myA">Data...1a</td> <td class="myA">Data...2a</td> <td class="myA">Data...3a</td> </tr> <tr> <td class="myB">Data...1b</td> <td class="myB">Data...2b</td> <td class="myB">Data...3b</td> </tr> <tr> <td class="myC">Data...1c</td> <td class="myC">Data...2c</td> <td class="my...

How to maintain size of SWF files in a HTML page?

I have many SWF file those I have included in my web page using the HTML Object tag. Its working fine but, I am not able to maintain the size of my SWF files. I have following code for SWF files. <object id="example_flashGame" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/c...

How to hide a bulletpoint in blog

how to hide a bullet points? example like this website http://www.grainge.org/pages/various_rh_projects/alt_dropdowns/showhide_3/showhide3.htm you can see the example first Hotspot second hotspot if we click 'first' it appears but if not it's not appear. how to do that ...

Jquery Ajax remove rows from table and in db

Hello Everyone. I have a html table which if filled by values of an mysql table. This way: function getCategories(){ $prod = new C_Product(); $cat= $prod->getCategorieenAsArray(); $tr = ""; foreach ($cat as $key => $value){ $tr.="<tr><td>&nbsp;</td><td>$value</td><td><img src=\"images/delete_button.gif\"></td></tr>\n"; } retu...

drag & drop using jquery : set DIV Permission

Hello, I have 4 DIV. and it has 4 child each. I want to set permission to 1st div that it can not drag its child div to 2nd DIV. But it can drag its child div to 3rd and 4th DIV. So the question is how to set permission to 1st DIV? ...

jquery ajax - php question

Hello everyone, When i do an ajax request i go to a php script which does something for me. Either it deletes an record from the db or it doesn't. If it goes ok. I want to deleted and update my html table. Else I want to show an error message or so. But in my php I can't do something like return false; return true; I need to ec...

Google Adsense killing jQuery PrettyPhoto

Hi all, I'm using PrettyPhoto on a site I'm building, but for some reason the google adsense code is killing it in IE, there's no js errors, but the prettyphoto frame doesnt load and the links open up in the main window instead, however if I remove the google adsense code, PrettyPhoto works fine.. Has anyone else come across this, or som...

How to invoke nicEdit (editbox) or jquery (datepicker for text box) after a XMLHttpRequest?

Need help (or an example) as I don't seems to be able to invoke jquery datepick or nicEdit when using XMLHttpRequest. My code comes with 4 php files: Main page: main.php ++++++++++++++++++ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&quot;&gt; <html xmlns="http://www....

Adding items to a table in jquery

Hello, I have an input box which i use to add items to a table in the db. It looks like this: <td> <form class="insCat" action="#" name="insertCat"> <input name="categorienaam" type="text"> <input class="insert" type="submit" value="nieuwe categorie"> </form> </td> And i handle it like this in jquery jQuery(".insert")...

Basic jQuery plugin for flash-based single file upload?

Hello, I'm looking for a simple jquery plugin to upload a file via flash. What I want: ability for the script to interpret an XML response from the server What I don't want: multiple file upload progress indicator and all the bells & whistles ...

jQuery selector for matching at start AND end of ID?

I have a group of buttons on my web page which all have an id that end with the text "EditMode". I'm using jQuery to assign an event to like so $('[id $=EditMode]').click(editHandler); However now I want to prefix the id with a name (which I will know in advance) so the id would be "aName+someotherstuff+EditMode". How do I alter the ...

Why does my jQuery fadeOut/remove get rid of the parent DOM element?

I have a list of items for example: <li class="ui-state-default" ><span class="ui-icon ui-icon-arrowthick-2-n-s"></span>test <a href="#" title="Delete" class="itemDelete">x</a></li> $('.itemDelete').live("click", function() { $(this).parent().remove(); }); All is ok. If I change it to $(this).parent().f...

Reveal Hidden Elements in jQuery

I've got a div needs to show the first three items in a list, if that list is bigger than three items, I'd like a button to trigger to expand to reveal all the items. It's possible for me to find out how many items will be in the list via PHP, but this number could be from 0 to 30. <style type="text/css"> .box { height: 80px; overf...

jQuery append Google Adsense to div..

Hi everyone, I'm having issues with google adsense and it loading before my jQuery and killing my codes, so I thought I'd try to append the Google Adsense javascript to the appropriate div using the document ready function, here's the code I'm trying to write: <script language="javascript" type="text/javascript"> $(document).ready(funct...

how to use url and jquery

i wanted to know how do you get http://wesitename.com#overall How to make a div show when the link is #overall ? ...

Trying to output HTML from Jquery $.ajax call to web service

I am trying to return an html table from a asp.net web service but can not figure out how to get the string that is returned to be actual html. Here is my jquery call... $.ajax({ type: "POST", url: "UserService.asmx/PersonTable", data: "{}", dataType: "json", ...

Auto tab in JQuery

Hi , I have downloaded the autotab.js to my application.And i m trying to use that in my application. I am having a Form , and i want to auto tab to next input DOM element after filling one input field.ALso that the Form is generated only in the Page so I cannot use the autotab with the Field id as a known factor.How to do so using JQ...

Modal box gallery with nyroModal

Anyone knows how to create a modal box with nyroModal where a big image is visible and below that image a set of thumbnails and when someone clicks on these thumbnails the big image is changing in the same window? ...

Read page content, convert to json, enter to SQL?

I want to read the content from an external page, convert that into a predefined format, and then enter it into a database. This is just for fun--it's taking an event list and copying the events to my own site. Take this page, and manipulate it to fit a different format... Is it possible to do this with jquery? ...

jquery attr use variable?

Are you able to place a variable into attr of src? Example: $("#member-image2").attr({src : image}); I am using facebook connect and the "image" is their variable and "member-image2" is my img ID .. Is this even possible? Because as is, it is not doing it. ...