jquery

Bubble Graph in JQuery

Does anyone know of a jquery plugin which can create a bubble graph? Here's what it needs to look like: http://www.bellschofield.eu/index.php I've been using JS Charts but that is only capable of producing Pie/Line/Bar. Any ideas? Many thanks ...

Blink image with JQuery

Is it possible to blink a image with JQuery? I need to blink certain image with specific class. It should work in both IE and firefox ...

Portfolio show up question

I like to have a portfolio that is dynamic and simple to update In one part there will be some little square preview, and hovering or clicking on these preview will update the LARGE section with the whole job i know pretty good the : MM_swapImage(), but like to do it in jquery or ajax Any demo or sample code around ? -- some researc...

Different approaches for File upload using Ajax

To upload the file using JavaScript generally iFrame approach is used in which Hidden iframe is maintained and then the file is uploaded using the iframe. However it is said not to be reliable method for the file upload and Flash is used for this purpose. So i am not clear how this is done? I mean by Flash and JavaScript together ? ...

URL fragment identifier - simplify state handling (javascript)

I have a web application which makes extensive use of the fragment identifier for handling "state". examplesite.com/#$mode=direct$aa;map=t;time=2003;vid=4;vid=7 A number of questions: 1) What is a good way of assigning the various "location.hash name value-pairs" to variables to keep track of the state? 1a) Should I make an object t...

How to realize dynamic chained menu in php and jQuery/ajax?

Hello everyone, I'm trying to realize the function similar to the website: site. I know it's done with jQuery. But can someone guide me with more details? Thanks very much. Edit: The function i need is the chained menu and a result set on the right side. I want the chained menu to be generated automatically from mysql. ...

Getting 'href' value of an anchor inside another element

Suppose I have this: <ul id="menu"> <li><a href="someplace">some text</a><li> ... </ul> I want to make every li clickable so I need to extract the value of href like this: $('#menu li').click(function() { var link_to = $(SELECTOR THAT I NEED).attr('href'); window.location = link_to; }); what's the correct code for this? Is ...

Issue while setting html of div using the jquery html() method

Hi everyone... I've got an issue with jquery where I set the html of a div using the html method, but it does not set it correctly. Here's the stripped down code I'm using: <?xml version='1.0' encoding='utf-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt...

ajax/jquery disables links after submit

i am working on this form. i am using lightbox and dhtml fade effects. the content in my lightbox is a form. i am using jquery to validate the form. once the form is submitted, i redirect a user back to a thank you page. what i am noticing is that, once all the above events has taken place, i cannot click anywhere on my screen, all the l...

How to access PHP methods inside a Javascript?

I have made a method which will delete a file. first i echo the url to this file. like this echo "<a href='$fulr'>$filename</a>"; now basicaly i want to call the function deletefile($file); how can i do it like this echo "<a onclick='$this->deletefile($filename)' href='$fulr'>$filename</a>"; is that even posible? Or how can i i...

JQuery Validate Plugin: make input required depending on radio button value

Hi all, I'm having a real headache trying to get the jQuery Validate plugin to work. I have a form, the first question asking the user to select an option from a radio group. This shows further questions below, depending on their selection. What I'm trying to achieve is making the visible questions required, but obviously depending o...

JQuery Dialog Div Height

I am trying to get the height of a JQuery UI's dialog's div once opened, so that I can set the parent's iframe height dynamically. However it seems to be returning me the height of the div before the footer button panel and title panel are added. The height for the dialog is set to "auto"; $(this).height($('#dialogdiv').height()); I...

jQuery Tabs; cookie trouble..

I'm having trouble finding out how to set jQuery cookie for my tabs on this page: http://onomadesign.com/wordpress/identity-design/alteon-a-boeing-company/ My jQuery Tabs code is like this: $(document).ready(function(){ $(function () { var tabContainers = $('div.sc_menu_wrapper > div'); $('a.tab').click(function () { ...

Update html table with jQuery for Modal Binding support in ASP.NET MVC

Right now, users click a button with JQuery. It dynamically adds a new form everytime. I need a way in JQuery or C# that can update the index so that is has the following format. The html is being created in a user control in ASP.NET MVC. I have tried using a string for the indexes but it does not Model Bind it correctly. I have read the...

Hiding Groupings Only Containing 1 Element (in Sharepoint)

I have a list in Sharepoint that contains a few hundred groupings. Some groupings only contain 1 row, and in those cases, I want to removing the grouping header above. To do that, I think I need to hide all of the code (below) using jQuery. I want to make the logic so that it looks for the portion ">‎(1)", and if it finds that, it hid...

How to get specific div text with jQuery filter()

I have the following html that renders within an ASP.NET Repeater: <div class="divDE-item" onclick="addFilter(this);"> <span class="spnKey">Some key</span> <div>1234</div> </div> I realize that having an onclick on the outer div may not be the most graceful jQuery-centric approach. However, considering my situation, it works well....

Django view does not redirect when request by jQuery.post().

hi, I've got a menu to switch languages in my Django template. I call, via POST, the "/i18n/setlang/" view shown below to change the language setting. When I use a html form the user is redirected as expected, but when I use jQuery.post(), it is not. What am I missing? Thanks Call to the view using jQuery.post(): $.post("/i18n/setla...

ExtJS equivalent of JQuery's children?

Hey everyone, I tried implementing the children function in ExtJS using select("~ *"), it just didnt work well. I just want ExtJS to return me a set of immediate child node and ignore all the nodes under child nodes. <div> <span> <img/> <img/> </span> <span> <img/> <img/> </span> <...

jQuery jHTMLArea - How to Allow Only Certain HTML Tags?

Is this possible to limit the HTML only to Bold, Italic, Underline and Breaks in jHTMLArea plugin editor? I'm mostly interested in stripping P tags and using two breaks instead. What I have done in the mean time is: $.fn.stripPTags = function(_str) { _str = _str.replace('<p></p>', ''); _str = _str.replace('<p>', ''); _str = ...

set one field equal to another

I have: <form> <input id="A" name="B"> <input id="C" name="D"> </form> And I need to set the second input equal to the first whenever the first input is changed. Something like: $(function() { $('input#A').change(function() { $('input#C').val(this.text); }); }); ...