jquery

Removing google mail markers with jquery after getting them from xml

Hi there, I'm trying to create a page that contains a google map. The map is filled with markers from an xml file. I just can't figure out how to remove "old" markers, that don't match the latest user input. At the moment my js stops after the very first xml item. The clearList.push(marker); is supposed to put the generated marker awa...

Ajax -jquery image upload to iFrame resize problem

I'm modifiying an ajax like jquery image uploader from /www.atwebresults.com/php_ajax_image_upload/ to see image on screen in iframe. I need the image to come in at 100% so I can use jquery resize. filename=name&maxSize=9999999999&maxW=200&fullPath=http://localhost/nyb/uploads/&relPath=../uploads/&colorR=255&colorG=255&c...

Help me please, javascript place problem or another thing??

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Urunler.aspx.cs" Inherits="Urunler" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head runat="server"> <meta http-equiv...

jquery select iframe children

I am using the editArea library and jquery to do what i need... http://www.cdolivet.com/index.php?page=editArea&amp;sess=2b8243f679e0d472397bfa959e1d3841 so in my html there is an iframe tag that editArea uses what i need is to access something like so with jquery $('iframe textarea').keydown(function (e){ number = 17; //any number...

Get drop down menu value on Jqery

Hi all Got a simple question. I would like to get a drop down menu value when a use clicks it. I tried to write the code on my own, but couldn't do it. Any helps would be appreciated. My Jquery $("#week").change(function(){ var input=$("week: select").val(); alert(input); //display undefiend My Html <form id="week...

operation with all inputs, without type="checkbox"

I want to do some operation with input elements in td. I used for this: var inputElements = $('td > input', row); inputElements.each(function () { //some operation }); How can I except checkboxes? ...

click event on table row, except td with class="someClass"

Hello, I want to do someoperations after click on row, except td with class='someClass' $('#mainTable tr td:not([class=someClass])').unbind().live('click',function () { //some operation }); what is wrong? note: this td is not last td in table. ...

getjson and servers

Is getJSON only useful for those who control a server? Is there any other alternative for getting data from a file? i tried $.getJSON("good.json", function(data){ out=out+"good.json: "+data + ","; }); where good.json = {"a":"1","b":"2"} and got a result of 'null' for data. These all are valid JSON files, and all give null ...

JQuery UI Tabs + Wordpress issues

Hello dear Stackoverflow gurus, I am trying to integrate JQuery tabs with my WordPress blog, to replace old HTML Navigation menu. I am half way there but not quiet... Take a look for yourself: http://www.isahat.com The template breaks right away since the first button of the Tab menu is linked to index.php like so: Home ...

Problem with adding and removing classes with jQuery when hovering over a list item.

I want to add a class to a list item when I hover over it, and then remove it and add it to a different list item if a different list item is hovered over. Here's what I tried: jQuery - $(document).ready(function() { $("#results").text("Tournaments"); $("#Tournaments").addClass("box-active"); $("#box ul li").h...

Access $('selector').data in functions/objects

How do I access values set by $.data() inside a function or object $('#timers').data('firsttimer', 100); //prints 100 document.write($('#timers').data('firsttimer')); function blah(){ //Prints nothing document.write($('#timers').data('firsttimer')); } blah(); See this jsfiddle for easy access...

Best format to submit an autocomplete?

I'm seeking advice on best practice when submitting a varying number of POST variables. Do I use JSON or some character separated list to merge all the values into one field or use a sequence of fields like 'autocomplete1', 'autocomplete2' and so on. Does jQuery have a json encoder? Thanks in advance, Ben ...

How to check a flv or mp4 in a webpage when mouse over?

Use JS,I can check a flash object in a webpage when mouse over it, but how to check a flv or mp4 object when mouse over or out ? check flash:if(event.target.tagName == "EMBED"),but check flv or mp4 , which tagName I can use ? Thank you very much! ...

JQUERY-UI Draggables - Seralize is running before the Draggable is complete

Hello, I'm using the JQUERY-UI draggable plugin. As a setting, when the Draggable is done, using the STOP setting I run a function to seralize a list of LIs to get their order in terms of their IDs. For example, if I have an UL, with a list of LIs with the following IDs: 1,2,3,4,5 If I then move 5, between 2&3, the seralize is returni...

Developing Jquery, jquery ui, php, mysql, ftp, via Dreamweaver?

I'm trying to find a good environment to building and maintain an existing website. Would Adobe's Dreamweaver be a good purchase as far as coding in PHP, html, jquery, with a mysql database? ...

Pre-formatting text to prevent reflowing

I've written a fairly simple script that will take elements (in this case, <p> elements are the main concern) and type their contents out like a typewriter, one by one. The problem is that as it types, when it reaches the edge of the container mid-word, it reflows the text and jumps to the next line (like word wrap in any text editor)...

how to set tab order in jquery

Hello, I'm using Telerik controls, specifically the numerical textbox where you can set a up-down arrow to increment/decrement values in a textbox. I am required to set the tab order to move to the next field but since there's a button on the up-down arrow, the browser will go through those buttons first then move to the next textbox fi...

Manipulating jQuery to retrieve the onclick function of an item which lies directly below the current focus with the same parent

First off, I want to thank you for looking into my question as I really do appreciate your time. I've built a list of items using php by having a foreach loop cycle through an associative array printing the array data as parameters of an onclick function call and gives each item it cycles through an ID of $thecount. All items retrieved ...

How to find the closest descendants (that matches a selector) with jQuery?

We can use closest(selector) to find the first ancestor element that matches the selector. It travels up the DOM tree until it finds a match for the selector. But what if I want to travels down the DOM tree until it finds a match for the selector? Is there any jQuery function for doing this? Or do I need to implement this using breadth-f...

Getting a value of td of a selected tr in jquery

Below is my table <table> <tr class=chargeTR> <td id=chargeTD> charge1 </td> </tr class=chargeTR> <td id=chargeTD> charge2 </td> </tr> <table> Below is my jquery call $(".chargeTR").each(function() { // this line works fine $.get("process.php", { ...