jquery

JQuery and PHP validation problem?

I want to do the validation on my PHP side and then have my JQuery code display your changes have been saved when the submit button is clicked but the JQuery code states that the changes have been saved even when the validation fails. How can i fix this so that PHP can do the validation and then JQuery can do its thing when PHP has fini...

Elements added later All images and text loaded to function. (jQuery or Javascript)

#clickArea click to #contents prepend #loadingText(Loading...) and #contents append HTML-source. If append HTML-source(All images and text) Load complete to #loadingText(Loading...) is fadeOut. The code that it is the best in this case? HTML <div id="contents"> <p id="clickArea">Click</p> </div> JavaScript(jQuery) $('p#clickArea...

Jquery table cell

Hello...This code produces a mess... What am i doing wrong??? cell=$("<td>"); if(normal.exam_type=="Exam_Boolean") { var input=cell.append("<input>").last(); input.attr("type","hidden"); input.attr("name","exam.exam_Normal['" +normal_id_unique + "'].boolean_v"); input.att...

IE7 is not positioning dialog properly on window resize

Like I said, IE7 (and IE6 but I don't really care IE6 that much) doesn't position dialog properly on window resize. When window is re sized, dialog goes down and down. IE8 FF Chrome Safari all work properly and position and re size dialog just fine but IE7 it re sizes the dialog but positions incorrectly. Anybody know some fix about this...

JQuery Two colour slider control automatic move

Hi All, I am creating a slider control with two colours for media player streaming. [Covered portion with one color remaining with another] Working: i can drag/ move the slider manually. Needs: I want to move the slider automatically.(1. Once the control is ready and 2. After changing the position of the slider, from that position it ...

The textblock in a circle.

Prompt how to solve a problem, please. I have a div containing text. It is necessary that the text was in a circle. From what to me to start to solve the given problem? Can be methods javascript (on a site it is connected jQuery)? P.S. The decision should be crossbrowser. ...

JQuery problem IE8 name attribute

Hello... In IE8 this input.attr("name","exam.exam_Normal['" +normal_id_unique + "'].boolean_v"); Outputs this only in IE8.... <input propdescname="exam.exam_Normal['1'].boolean_v" type="hidden" value="0"/> WHY WHY?? Why everywhere are problems... why ...

filter only http:// using jquery

Hello, I have about 400 links, ie., http:// in a div. I want to filter only the links ( http:// ) $("a[href$='']").each(function() { $(this).append('#only_http').attr('href'); }); Thanks Jean ...

Using 2 JQuery Autocomplete

Hi All! I am using the JQuery Autocomplete Plugin 1.1. When I try to add autocomplete to 2 inputs in this way: $("#object_ac").autocomplete("autocomplete_search.php", { extraParams: {object:1}, width: 160, selectFirst: false, minChars: 2 }); ...

how jquery parse xml from another xml??

hi,,, please help me to parse xml from another xml... i have this xml named browser.xml <tree> <root name="SA" hidden="yes"> <folder name="Diagram"> <folder name="Activity" refreshURL="diagram_activity.xml"></folder> <folder name="Business Process" refreshURL="diagram_business_process.xml"></folder> </folder> <folder name="Other"> <fo...

JQuery email validation?

I'm new to Jquery and was wondering how to write an email validation using JQuery? ...

HTML textarea; scroll vertically to text

I have an HTML textarea: <textarea> Some text Another text in another line BOOM Hello there. </textarea> I want to be able to vertically scroll to the word BOOM so that it is visible (it doesn't matter on which line it appears). Is this possible? ...

Search raw text using jQuery

Hello, I want to search a text_word from raw text using jQuery. $("#s:regex('text_word')").each(function() { $(this).appendTo('#s1'); }); <div id="s">raw text here</a> <div id="s1"></a> Thanks Jean ...

jquery flot xaxis time

In this example in xaxis will compare the days... $.plot($("#placeholder"), data, { yaxis: {}, xaxis: { mode: "time",minTickSize: [1, "day"],timeformat: "%d/%m/%y"},"lines": {"show": "true"},"points": {"show": "true"},clickable:true,hoverable: true }); how I can print time? This is the resu...

jQuery Show a Textbox When an Option is Selected

I have the following code: <select> <option value="Type 1">Type 1</option> <option value="Type 2">Type 2</option> <option value="Type 3">Type 3</option> <option value="Other">Other</option> </select> <input type="text" id="other" /> What I want to do is using jQuery make the textbox below hidden by default, and then show it if a user...

JQuery ajax call default timeout value

I got a bug report that I can't duplicate, but ajax-call timeout is the current best guess. So I'm trying to find out the default value for timeout of a jQuery $.ajax() call. Anybody have an idea? Couldn't find it in jQuery documentation. Thanks in advance, Marcus ...

javascript to print all tables and individual tables

I am retrieving values from a database and displaying it a table using php. Each table is stored inside a div tag. <div id="print"> table content 1 </div> <div id="print"> table content 2 </div> .................. Can some one please suggest a javascript where i can get a separate link/ button that will print all the tables and a lin...

Validating the age limit using jquery

How to check whether the entered age is between the specific limit, using Jquery in html forms ...

Jquery qtip ajax issue

Hi All, I am trying to post the value of an input box (In this case a imdb link) to my imdbgrabber.php page and have it return the info of that movie into a qtip box. EDIT: View here http://movieo.no-ip.org/ Hover the images and you will see the error. Everything works fine until i try and post the variable to the imdbgrabber page. Th...

Jquery variable not defined error....

I use the following jquery statements but i get error in this function onGetDataSuccess(result) { Iteratejsondata(result); $(document).ready(function() { $("#pager").pager({ pagenumber: 1, pagecount: 5, buttonClickCallback: PageClick }); }); PageClick = function(pageclickednumber) { $("#pager").pager({ pagenumber: pageclickednu...