3,446 Topics
![]() | |
Hi, I want to prevent submitting a form if any of the field is empty. also if possible I would like to validate some basic things. All I want to use JQuery: How do I do that? I have no way and google points me to plugins. The things I … | |
hi all again, i have made this one script that grabs values from the DB and displays them once you click on the dropdown menu which is fine if you have the first value that is printed. but i also made a new part of it where it prints a … | |
Hi all, I want to add some yellow background when focus turns to text input and remove it when it moves. Here is my code for JQuery [CODE=javascript] $(document).ready( function(){ //make form display yellow color when mouse is focused on item $("input").focus( function(){ $(this).css('background-color' : 'yellow'); } );//end focus }); … | |
I am working on translating a website where instead of repotting the pages I just move the changed content into a <DIV> using jQuery “ajax_load”. The code is simple and of the form: [code] var loadCreditCardDonation = 'content/creditCardDonation.php'; $('#load_credit_card_donation').click(function(){ $('#rightContent').html(ajax_load).load(loadCreditCardDonation); }); [/code] I am now working on a page that … | |
I have a base template which is called every time a template is loaded with the [icode]{% extend 'base.html' %}[/icode] tag In that base file I have a navigation bar with a link to your inbox I want to show after the link a number with how many unread messages … | |
Plz., how to put javascript validations in jsp page using JQUERY....ONE SAMPLE PRORGRAM and what is the difference between general javascript(regular exp) validations and jquery validations.. thanx & wish u happy new year... | |
Hi great ones, i have a form that i save employees photos to server and URIs to DB. Doing some tests yet. I can save in the server without no problem. the javascript callback function aint being fired .. dont know why; below is the code.. i appreciate any help … | |
Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying … | |
Hello all, please help! I need use two jquery scripts - dynamic select box and clone row. Each of them work fine but I cannot find the way to use it together in one script. Thank you for any suggestion! Petr live demo: [URL="http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww"]http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a … | |
i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote … | |
I'm not entirely sure if this thread belongs here, or in "JavaScript / DHTML / AJAX". Anyway. I have a bit of a problem here, hoping that a kind soul might be able to help. On one of the webpages for the site I'm developing I have a bunch of … | |
Hey i need some help, ive done a javascript that will create a small popup when the user a link, just like the one on this forum when u touch a thread and you can read a small part of it. this is the code and my problem is that … | |
In this the JS Codes (in the code tag)are not working only in this page can any one help me on this <!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"><!-- InstanceBegin template="/Templates/main.dwt.php" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- InstanceBeginEditable name="doctitle" --> <title>Luxmi Lanka</title> <!-- InstanceEndEditable … | |
This is my codes [CODE]<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script language="javascript" type="text/javascript" src="js/mootools.js"></script> <script language="javascript" type="text/javascript" src="js/getchqno.js"></script> </head> <body> <script type="text/javascript"> function buildSelect(select, options) { var select = $(select); select.empty(); options.each(function(item) { if($type(item) != "array") { item … | |
I have the following html form where the user enters username and password. I'm using ajax to send the values to a php page and in return depending on what the username and password is the php page sends a request back. It send a T if the username/password combination … | |
I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li … | |
I know you would say ask to JS/AJAX forum! Don't worry, it isn't about codes, it is curiosity. I wan't to know if I can do Ajaxing using JQuery and PHP without writting all Ajax functions myself :) Just that :-/ ![]() | |
Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve. [CODE] <script type="text/javascript"> $(document).ready(function() … | |
I just watched the "Taming the Web" video from 01/12/09 on Adobe TV which discusses how to use jQuery as a framework for AJAX development using Dreamweaver CS4. I am just beginning to learn about this stuff but it seemed to me that everything that the instructor did with jQuery … | |
Hi all, I plan sometime to jump into IT business. I plan some tools that I will need. I will go for web as well as Desktop. So far I know that I need to know HTML/CSS/PHP/Javascript and hence I know I need IDE that will support those plus some … | |
Hey Im going to make an ajaxlogin for my website but ive ran into a problem with the jquery submit() funktion. If i put my login form in the body of the index and use $('form').submit() it works perfect but. when I have the login form in another php page … | |
I'm a PHP guy so I still struggle with Javascript. The answer to this is probably easy. I need to add some animation effects and I'm experimenting with JQuery [B]animate[/B]. The sample routine is set up to run when you click on the Run link. I want to change the … | |
This purpose of this thread is for anyone who wants to learn JQUERY. [url]http://jquery.com/[/url] here are the demo's that you can easily apply on your website. [url]http://jqueryui.com/demos/[/url] do you have any ideas about jquery? thanks | |
I'm trying to create a type of moodboard where you can drag drop and resize pictures on. but i want to create a carousel that shows the available pictures that you can drag and drop onto or into the mood board div. i have either the problem that i cant … | |
I would like to run the javascript code in between the script tag on a button press, but the code runs as the page load. Please point out what I am doing incorrectly. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="html/html; charset=UTF-8" /> … | |
Hi all, please, help me with jquery - I'm totally amateur in javascript. I use script to assign the value to item selected from html select box. The second script adds row into my form. The first row works o.k. but if I´m adding another rows, only value from the … | |
[CODE=javascript]clock(); function clock(){ var d=new Date(); var hour = d.getHours(); var minute = d.getMinutes(); $('#hr1').css('text-indent', '-'+hour.charAt(hour.length-2)*50+'px'); $('#hr2').css('text-indent', '-'+hour.charAt(hour.length-1)*50+'px'); $('#min1').css('text-indent', '-'+minute.charAt(minute.length-2)*50+'px'); $('#min2').css('text-indent', '-'+minute.charAt(minute.length-1)*50+'px'); clock(); }[/CODE] I need help updating my jQuery clock. setInterval and looping the function doesn't seem to work. The variables are updating well but the css properties are … | |
Hi Developers Most of the time I'm free, I off the internet. I would like to learn Ajax and JQuery offline. Can someone point me good offline tutorial/free legal book for download? I have googled a lot and downloaded many PDF which are confusing to the beginner at best, and … | |
if i have [ if statement ] in my php code than with jquery it is not working...........!! e.g if i have --------------------------- [CODE]<?php if(myquery){ }else{ do jquery here } ?>[/CODE] ------------------------------ but jquery in else area is gone disable how can i fix that.........!! | |
Hi, I am new to coldfusion. I installed CF7 in multiserver configuration. I created two instances on same box and created a cluster. I can browse to the two instances seperately and thru the cluster. I am having an issue. When I access instances directly the site is working fine, … | |
Hi all, I have a dropdown and when the value of that drop down changes corresponding pages are displayed using jquery ajax. My problem is that when i refresh the page standing in the page generated by the ajax , the home page containing the dropdown is displaying instead of … | |
Please remove this thread -deleted- | |
Hi guys I was wondering whether someone could help me with a slight issue I have. I'm trying to set up a quick poll using AJAX which all works fine when using Firefox but running into issues via IE. [CODE] $(function() { $('.error').hide(); $(".button").click(function() { var userid = $("input#userid").val(); var … | |
I would like to find a snippet of code to us in page using Javascript or JQuery. the function of the code is to make text appear weekly. Like random text or random image but I would like to control the text according to the week within the year ie. … | |
Okay I have an issue....I have two things I want to happen on the same page....I have a slide in menu (Jquery contact form) where people can write me an email and a FancyBox gallery.. But these two javascripts wont play nice...if both are enable as they are now, The … | |
Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of … | |
I have to Set Iframe Height Dynamically using Jquery or Javascript . I am Using following jquery code: [code]var theFrame = $("#IframeId", parent.document.body); theFrame.height($(document.body).height);[/code] My Problem is that data in iframe has some Images,video thumbnail which are coming from diffrent server Amazon,flicker (means from Cross domain). It takes time to … | |
[url]http://www.d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm[/url] these type of jquery pagination are riable for large data...??? where query doesnt need 'limit' in it..!!! thanks | |
Hi, I'm trying to apply light box effect. When the user click on the thumbnail size photo, it will pop up a bigger want and then the background will all blackout...... It's just not working and the the imgage won't show up at all. Hope someone can point out my … | |
I will start out by saying that I have no experience with PHP at all.. sorry. However, since I do some asp.net etc I thought I would throw myself into it.. I have come across a problem though. I've found a mail form using jQuery. What it's supposed to do … | |
Hi im messing around with some jQuery and want to disable a link whilst it performs a ajax post (its adding/fetching somthing from a database) and i want to disable the link so it cant be multiclickd. [CODE]<a href=\"#\" id=\"seepages\">See Page</a>[/CODE] ive tried using [CODE]$("#seepages").unbind('click');[/CODE] but that dosnt work! =( … | |
i have a form in another form............ <form1> <form2> </for> </form> the form2 is submited automatically, and has only one field of fileupload, and is auto processing file upload with jquery ajax...!! it works fine for me but when i pass the response filename of form2 to form1 <input> field … | |
does anyone know of any tutorials? i don want to use jquery. just javascript. i googled and found nothing but i know its possible. does anyone know? just a simple one. for like divs | |
Hi, I'm new on ajax/jquery. I will try to explain what is my problem. I'm building a page in which have three div separating (top, left, right) I'm using dynamic ajax content in which on the left side have some href which change the right side of the page like … | |
Hello, I am having a problem with the jQuery Cycle plugin. I am trying to create a slideshow of images that change(fade) when an element in the pager nav is hovered on. (This is supposed to be possible as per the jQuery Cycle Plugin docs <http://malsup.com/jquery/cycle/pager2.html>) My setup: I have … | |
hi, in my case i want to add a new menu item(actually a div tag) to my existing menu when an event or method calling occurs. i want to append a div tag dynamically to my existing menu with all css and effects. so if you guys have a better … | |
Hi all,suppose i got two rows like this picture [url]http://i575.photobucket.com/albums/ss197/yonghan79/ask-1.jpg[/url] I'm trying to change the modified column value to current datetime without refreshing the page when i click the update button..The first row worked,the second doesn't work..Here is my codes views/order_home [code] <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.js"></script> <script type="text/javascript" … | |
Hi i am generating dynamically a list of books. Each book should be draggable to a certain place in a page. I gave the same id for all the books by keepin each book reference inside a div element. But only the first element is draggable . Please help me … | |
hi, "INSERT MODE" i have check box in one "tr". and another dropdown control in another "tr" intially dropdown control will be invisiable intially . but once the user checks the check box. the dropdown control should be visiable and he can select the value. but again the user unchecks … |
The End.