Form Validation and URL()
Hi, I'm using the JQuery Form Validation plugin which, BTW is working great. I have a web site URL input field that my client wants to have the "http://" already included. He's complaining that most users input their site url beginning with "www." instead of the full URL. How would I go about doing that? Cheers
How to set default value in Fileupload control using jqury?
hi all I have a problem that I'm able to set default value in text box using jqury but don't know how to set default value in file upload control. For filling textbox I'm using the following code: $("#TextBox1").attr("value","Default value"); Please help to set fileupload control value using jquery?
jQuery checkbox deselect
Hello, I work with the framework jQuery and I have problems to dedect the deselection of a checkbox. To run through the selected checkboxes is simple: choiceContainer.find("input:checked").each(function() { // to something with the selected checkboxes } but how can I get the label of the deselected checkbox. Thanks for answers, All the best, Michael
[jQuery] jQuery DropDown Menu Like Office 2007?
Hi every: I'm using Superfish menu in one application but I want to know if exists any plugin for dropdown menus with styles like Office? Cheers -- Ing. Reynier Pérez Mira
selector issues with Jquery 1.3.2 and Firfox 3.5.3
Hi, this selector does not work with Jquery 1.3.2 and Firfox 3.5.3 $("li a").click(function() { alert('test'); }); Using version 1.2.6 it works with out issues. Older versions of FIrefox work with no issue and the same with IE it works!
[jQuery] Validate plugin, weird issues after remote validation implementation
Hi, I got a form with a few fields. 2 of them are using remote validation. So it's basically checking if username and email are already in database. The problem is those field seems to validate as soon has i click into another field causing the error message to show up no mather if I did put something in the field or not. What is more weird is that all the error messages for the other field are shown at the same time. For some reason display:none isn't added to the other messages when the container
[jQuery] Can't get attributes from ajax response...
Hi , I'm making a ajax call using $.ajax my code is $.ajax({ type: "POST", url: "sample.php", dataType:"html", data: "name="+$('#name').val(), success: function(msg){ $('#result').append(msg); } }); And the response is <a href="#" id="1123" class="user-link">User1</a> When i try to get the Id from the response, it's seems not working.. $('.user-link').click(function(){ alert($(this).attr('id')); }); And i need to make this work urgently... Any help will be greatly appreciated... Thanks in advance...
[jQuery] Superfish - problem with arrows in IE6
Is there any way to have just css load for IE6 (i.e. no javascript) in superfish? The reason I ask is that I am using superfish on a site with a white background and in IE6 the arrows show up as being white with a black background (I edited arrows-ffffff.png to accomodate the white background of the site, and I think this caused the problem). I can't figure out a solution so I was thinking that it would just be simpler to not load the javascript with IE6 broswers. Thanks!
Show boxes after each other
how do i show elements with the same class after each other (/animate not at the same time)? currently i do this: $(document).ready(function(){ $(".column").slideDown("slow"); }) I figure out i need to use some kind of recursion, but i'm not familiar enough with javascript to do this...
dynamic siblings not found in IE
Basically I have a table completely generated and appended to the DOM in javascript, I am calling: $("#tableID" + p).siblings('.child-' + "tableID").fadeOut('fast'); This works fine in FF and Safari, but IE does not find the siblings. I even did an alert with: $("#tableID" + p).siblings('.child-' + "tableID").length, and as expected IE returns 0, while FF/Safari return the correct amount (2). Is this a known issue, and is there a work around? Thanks in advance.
[jQuery] Superfish
How do I go about changing the subnavigation background/position? I would like to add a vertical gradient to the subnavigation and am having a hard time. Any help would be appreciated. www.restorefoundation.schematixdesign.com
[jQuery] Plugin Jquery + PHP ????
Good morning everyone. I made a page with PHP, the problem is that I want to integrate a Jquery plugin called QTIP and does not execute any command QTIP. If I remove the PHP code runs the page great, but when integro the <? php?> QTIP not run anything. my page this saved with PHP, I leave the code here. DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> QTIP -
slide show effects
Hi, I am newbie to jQuery and also for javascript. I want to create a slideshow.When, adding the slides to slideshow(I took div to add images) it display the image as thumbnail beside the slideshow.That thumbnail contains delete option and user can change the order of the images(Up or Down). Thanks in advance!
remove a script that is written inside a div
how can i remove a script from a div using jquery my div <div ID="msg" runat="server"> <script type="text/javascript">showMessage('some message')</script> </div> i whant it to be empty (so at the next postback the function will not run)
[jQuery] pligin Qtip Jquery + PHP? Help
Good morning everyone. I made a page with PHP, the problem is that I want to integrate a Jquery plugin called QTIP and does not execute any command QTIP. If I remove the PHP code runs the page great, but when integro the <? php?> QTIP not run anything. my page this saved with PHP, I leave the code here. DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Transitional / / EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> QTIP -
Selectors on new added classes
Dear gurus, I dynamically create several divs objects, then I try to add the "click" functions with the selectors but it seems that it adds only to static objects that declared in html. for example: $(function(){ $("<div>").addClass("message-date").text(strCurrDate).appendTo(div_head_date); $('.message-date').click(function(){alert("DDD");}); } the "message-date" class that I added as a new div will not get the click event. is there a way to select new added objects with the selectors somehow ? Please
JQuery toggle function within ASP.NET gridview
First let me say I'm very new to JQuery. I do not understand why my very simple jQuery function works on my aspx page under this scenario: $(document).ready(function() { $('a#ctl00_cphMainContent_HyperLink1').click(function() { $('div#myDiv').toggle('slow'); }); }); but will not function under this scenario: $(document).ready(function() { $('a#ctl00_cphMainContent_repLines_ctl00_repTerm_ctl00_gvPlacementList_ctl01_HyperLink1').click(function() { $('div#myDiv').toggle('slow');
Call MULTI_ROW_DELETE demand via Javascript/jQuery in Apex
Hello guys! I'm glad to have joined the forum and am really curious if you can help me out on a problem that I wasn't able to fix. I am working with Oracle Apex and have some jQuery (Javascript) code to show a div tag when I hit a button. The respective DIV is a dialog including 2 buttons (delete and cancel). While the cancel button is working I have trouble with the delete button! There I want to call the Apex command for carrying out a deletion of checked record in an updatable report! The command
[jQuery] Tabs - Fade and Rotate
All - I have a set of tabs that I have gotten to rotate through via this scipt: $(document).ready(function(){ $("#tabs").tabs({ fx: { opacity: 'toggle' }}).tabs('rotate', 3500); }); Does anyone know how to still control the fade in the toggle? where do I put the millisecond count when using the { fx: { opacity: 'toggle' }} scenario??? thanks for the help. if you need more info. let me know. using: jquery-1.3.2.js ui.core.js ui.tabs.js
[jQuery] autocomplete.js plugin
I've got an autocomplete back end that returns multiple results, separated by pipes: http://38.119.36.106/jquery/headerSearch.aspx?q=queens Then on the top of this page I have a search field that uses the autocomplete plugin. http://38.119.36.106/ Try typing in "queens" into the box. It only shows 1 result! Even though the back end returns multiple records for that result. Here's my jQuery code. As you can see, I've told it to suport multiple entries and set a max at 20. var ac = $(".headerSearch").autocomplete("/jquery/HeaderSearch.aspx",
[jQuery] Jquery T-Shirts
<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Arial; font-size: 12pt; color: #000000'>Is there an official place to get JQuery T-Shirts / Mugs?<div> </div><div>I see alot of individuals that have created one off stores, but I would like to buy from an official source if one exists.</div></div></body></html>
Output value submitted to jeditable
Hi all, I have just started using jquery and am impressed so far. I am using jeditable to edit values in place, and submitting the values to a coldfusion page to update the values in the database. All this works fine. I am having a problem with the new (just submitted and updated) value being shown in the page. What would be the best way to achieve this? A request to the db to get the new value or just outputting the value that was just submitted? A sample of my code is below. Thanks in advance.
[jQuery] JQuery Autocomplete Values/Presetting
I'm using the JQuery Autocomplete plug-in and having a great deal of difficulty setting the value of the field either in advance (before making it an autocomplete) or after page load. To start, I have a standard text box and was just echoing a value from php into the value="" param. Then, on page load, I set the input to autocomplete. That would wipe out the value I had entered. Next I tried setting it after setting the input as an autocomplete. That looked like it worked, but it really doesn't sync
[jQuery] Ajax post request times out on Safari
Hi We are making an ajax request to post some data to the server. As we do not want any response from the server we have a small timeout for these requests function ajaxFunc(ajaxURL, dataString, isPost, dataTypeVal) { try { $.ajax({ async: true, cache: false, type: (isPost) ? "POST" : "GET", url: ajaxURL, data: (dataTypeVal!=null && dataTypeVal.toLowerCase()=="json")? JSON.stringify(dataString):dataString, datatype:(dataTypeVal==null)?"xml":dataTypeVal,
[jQuery] adding extension property to jCarousel
I can add extension methods to the jcarousel add in such as: jQuery.jcarousel.fn.extend({ position: function() { //alert(this.first-1); } }); jQuery.jcarousel.prototype.position = function() { //alert(this.first-1); }; but I want to get access to the "first" property of the jcarousel. Since I only have one item at a time visible and scroll one at a time "first - 1" gives me the current position of the carousel. Otherwise in several places in my code, I have to declare: var position
Only current child element
Hello, I've 2 field sets and a div inside each fieldset with some contents. When the legend of the current fieldset is clicked, I will toggle the div contents. I'm trying to write a generic function which can be used by everyone. Here is my design: <fieldset id="fs1"> <legend id="leg1">First Legend</legend> <div id="div1"> "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam
[jQuery] problem in safazri with javascript tabs
OK i am hoping someone can help me with this problem. I have a web app that i am developing. I chose to use JQtouch to assist me in this. For the most part it works great. Navigation is slick and i can even load static pages. The problem is this, when the static page first loads the js tabs functions work flawlessly. If i click one page back, then go one page forward (to the static page again) the js tabs stop working. You can see this in action here http://m.arupconsult.com/ipodapp/ Select Disease>Autoimmune>Allergic>Allergic
Cant figure do once on load
Hi there I'm a newbie to JQ but with a reasonable background in js and actionscript. What I am trying to do is get a function to run just once when the page is first loaded adn then not again (even if the page is reloaded) I have the quickstart guide which gives the code for a one time event handler and it says that it can apply to load like: <script>$(function(){ $("target").one('click', function(event){ alert('blah blah'); }); }); </script> now I can see how the id='target' is clicked and runs
Help with fade in-fade out jquery script
I have a div portion in my web page. I want to change the background -image of the div dynamically and then do a fade-in effect using jquery. But i cannot change the background-image of the div. Here is my script <html> <head><title> Animate </title> <style type="text/css"> #content { height: 200px; width: 1000px; background-color: #FFFFFF; } </style> <script type="text/javascript"> image_src=new Array(); for(i=1;i<=4;i++) { image_src[i]= new Image(); image_src[i].src="pic-"+i+".jpg"; } number=1;
translating javascript into Jquery....
Hey there. I'm new in JQuery and I was wondering if anyone can help me out in translating this scrip in to JQuery :-/ Or let me know any good tutorial where I can lear how to do so. var xmlHttp; function RefreshORP(eventTarget, eventArgument) { xmlHttp = GetXmlHttpObject(); if(xmlHttp == null) { //browser doesn't support xmlHttp! return; } xmlHttp.onreadystatechange = StateChanged; var params = GetFormParam(eventTarget,eventArgument); xmlHttp.open("POST","/netishop/checkout.jsp",true); xmlHttp.setRequestHeader("Content-type",
[jQuery] [autocomplete] key - value
Hi, Is there a way to use $key => $value 45 => 'some text' And search in $value (some text) but when I select 'some text', it's the $key (45) as input value instead 'some text' ? Thanks in advance. ps : sorry for my poor english.
[jQuery] Problems with styles in jQuery UI
Hi every: I'm developing a web application in wich I use the latest release of jQuery and jQuery UI. I have created my own theme using the tool provide but jQuery UI Site. I have a problem with Accordion component. The first h3 element of the accordion is align to right and the rest is OK because are aligned to left. See this image: http://www.uppush.com/uploads/478img_3.gif. My jQuery code is this: $(function(){ // Acordion $("#accordion").accordion({ header: "h3", event: 'mouseover' }); // Dialogs
how do I use find("node[attribute= mydynamicvalue]"
Hello, this is my first post to the forum and I am really stuck. Can anybody help me out please? I am loading an xml document and storing it in as jData. I want to find a page node by the text attribute. The attribute value is a dynamic value, so I am trying: var keyNode = jData.find("page[text= ' " + keyNodeText + " ']"); This works if I hard code the keyNodeText string, but not when it is a variable. I have tried every variation I can think of and hours trawling the internet, but no luck. many
[jQuery] [Superfish] IE7 submenu display problem
Apparently, in IE7 and below, there is an issue with sub-submenus dropping below the submenu. I don't have any other issues with z- indexing anywhere, so I'm not sure what the problem is. Example of this error here: http://www.ciu.edu/graduate/studyoptions/ Scroll over Graduate School, and then over Study Options. Be sure to use IE7 or below. If IE8, use compatibility mode. Any thoughts on this?
Changing charset in ajax request (accentuated words problem)
How do I change ajax charset content type? I've read it only accepts utf-8, is it true? And if it is so, how do I successfully send data with accentuated words? In my case i all get is modified words... Anyone eve had this problem? any suggestion to solve this problem?
online ajax/php voting system needed
Anyone with an ajax/php online voting system? Or do you know some popular site i could get it from?
[jQuery] New Edit-in-Place Plugin with dynamic selects, datepicker
I've created a new edit-in-place plugin that is a modified version of Dave Hauenstein's. It allows for selects that are generated at the point when the editor is created, rather than on page load, as well as the option to switch the select to an input box for adding values not currently in the select. It also has integrated datepicker functionality. You can download it at: http://code.google.com/p/dynamic-select-edit-in-place/ I make no promises to the overall quality of the code, but in my testing
fading in divs from buttons
Hi all, I'm not sure if I'm going about this in the right way. What I'm doing doesn't seem to be working anyway. I'm trying to fade in a couple of divs when a button is clicked a fade out the current divs. Here's my code: $(function() { //on click $('.benefit_buttons a').click(function() { // get id var current = 'Content-Display'; var current_text = 'Content_text-Display'; var incoming = $(this).attr('id'); //fade in
[jQuery] "JQuery is undefined" error
Hi, I have an html where I use jquery 1.3.2. The problem is that I get "JQuery is undefined" error messages in IE7. The site work great in firefox and safari. I include the jquery before any other plugins, I have a slash in the beginning of src and I can see the javascript if I open the link directly in IE7. I even don't see GET request for jquery in my server logs, but I do see the request for all the other plugins that I use. Is someone have an idea, what am I doing wrong? Thanks, Arshavski Alexander.
[jQuery] input blur event firing twice
Im having a problem with a form im developing. The form is held in a table. I have had to modify the keypress events for navigation and so keydown now gets focus on the input immediately below the current one. I have some validation going on on the input which fires on blur() of the current input. The validation works fine when the user blurs via tab or mouse click but it didnt fire when i forced focus to move due to the keydown event. To get around this I added $(selector).blur() to force a blur
Next Page