2,530 Topics
| |
Dear Forums, I ran into a problem with some panels I started working on. I uploaded the files on my site, The problem is explained on the page itself: [url]http://elneco.biz/panels/[/url] Please let me know if you guys have any suggestions. I don't have the brain power to try to figure … | |
I have an input box with a 'did you mean' box that pops up under it, and it pulls it's results from another php page, however when a term with a space in it, such as "I am" vs. "Im" is entered, it stops working. This is the code i'm … | |
Hi, I would like to add to my sita a thermometer. I have an input box and I think it would be nice if user could see the thermometer next to his input. When user lets the input box the thermometer to be updated. Does anybody know how can I … | |
ok so i am using jquery ajax to send post data to the php page to get processed. since im using a textarea with an editor on it i have to call the content like so var content = $('#pagecontent').val(); then post it through to the php page. which works … | |
I want to use jQuery tooltip in a table which is created with php doing a while loop. I want that when i hover over a row, the tooltip fills up with data according to that row. I found something similar using asp.net, but i dont know how to implement … | |
Hello Everyone, I`m Using this code to pass javascript associative array to php using jquery ajax [CODE]function install (loc) { var mydata = []; //lightbox(); switch(loc){ case "step1": { mydata['step'] = '1'; mydata['SiteName'] = $("#siteName").val(); mydata['SiteDesc'] = $("#siteDesc").val(); mydata['AdminEmail'] = $("#adminEmail").val(); mydata['username'] = $("#username").val(); mydata['password'] = $("#password").val(); } break; case … | |
Hi there, I am having some problem understanding an event in jquery. Given the following example [url]http://api.jquery.com/event.pageY/[/url], I don't quite understand what 'e' is and what it does. The rest of the code is kinda clear, it basically gets the coordinates but I don't understand what is the function of … | |
Hi everyone, i am only just jumping on the AJAX train after all these years... and finding it such a headache - been spending days wondering why i keep getting it wrong. I am trying to load a jquery plugin in div using jquery AJAX. current i am using [CODE]$('#content').load('minishowcase/index.php');[/CODE] … | |
Hello all, I've ran into a bit of a problem and I can't figure out how to get out of it. Basically, I have an autosuggest input field on my website and I would like to get data from 2 mysql tables. It is similar to yell.com where you search … | |
HI there, I was again watching a jquery/ajax tutorial and in the video [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-10/[/url] they show how to use a [ICODE]return:false;[/ICODE]to determine whether a scrip will execute (javascript on) or will go to a separate page if the javascript is off. Basically I have 2 pages test.htm and new_file.htm. The … | |
[CODE]<?php include('connection/database.php'); require ('xajax/xajax_core/xajax.inc.php'); $xajax = new xajax(); function autocomplete($val) { if($val!="") { $query=mysql_query("select * from name where name like '".$val."%'"); $rows=mysql_num_rows($query); $out="<table width='100%' bgcolor='#bfbfc3'>"; while($data=mysql_fetch_array($query)) { $out.="<tr><td>".$data['name']."</td></tr>"; } $out.="</table>"; $objResponse=new xajaxResponse(); $objResponse->assign('div1','innerHTML',$out); $objResponse->script("jQuery:$('td').click(function(){ var a=$(this).attr('innerHTML'); $('#name').attr('value',a); $('#div1').attr('innerHTML',''); }); $('td').mouseover(function(){ $(this).css('background-color','gray'); }); $('td').mouseout(function(){ $(this).css('background-color',''); }); "); return $objResponse; } else … | |
Hi,I am new to jquery n using below code for submitting data in database. Its working fine for small data but not working for large data. Need suggestions Php code: [CODE]<?php include('db.php'); if($_POST) { $name=$_POST['name']; $desc=$_POST['desc']; $price=$_POST['price1']; //$type=$_POST['type']; mysql_query("INSERT INTO `pgdetail` (`name`, `desc`, `price`) VALUES ('$name', '$desc', '$price')"); } ?>[/CODE] … | |
Hi there, I am doing some jquery exercises and I was redoing a small script I saw onto this video (very very good jquery resource by the way) [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-8/[/url] and there is something I am not quite clear about. I copied that onto my test area so I can post … | |
Hi :) I'm trying to create a small javascript menu. I have 4 images which serves as menuitems. [code]<div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random content2 here <br /> </div> </div> <div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random … | |
I'm making a little script using jQuery to send a sentence to a textarea by clicking on the text. It does this fine however, if I edit the textarea to remove a sentence manually, I can no longer click on the sentences to send them to the textarea. Don't know … | |
I am looking for a good tutorial on how to do a simple photo gallery. I want to photo gallery to transition by using arrows to go back and forth. I found a few tutorials but none that explain it in detail. I am familiar with jquery but not too … | |
Hello. I don't know if this is the right forum for this. I have resently downloaded a custom jQuery UI Pack, only using core and tab widget. On the examples in the index.html file, everything loads fine. Then I copy the files to my website directory, (all locally) and the … | |
hi i made a tutorial for appearing default text in text fields [snipped blog promotion] | |
Good Day All i have a Jquery code defined like this [CODE] // Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } }); [/CODE] and i am creating a textbox on fly and after creating it i bind data to … | |
Colorbox is a modal window that is jQuery based and is lightweight. I decided to use it in my blogger blog for a one-time subscription box based on the tutorial at: [url]http://www.bloggermint.com/2011/06/how-to-create-modal-subscribe-box-using-jquery/[/url] On a test blog, it worked perfectly. : [url]http://downloads.neuronhub.com[/url] (Ignore the missing images) However, when I tried the … | |
i want to get #value into the url to without refreshing the page ?? i tried window.location.hash to get the #value but it return blank.. the url is index.php?page=contact-us#email plz help to resolve the problem >> | |
Hi senior developers or any experience on jquery. I have a problem here I m unable to show my accordion function correctly. [CODE] functionLoadList(){ $.ajax({ url: "List.php", data: "", type: "POST", success: function(html){ $("#list2").accordion({event: 'mouseover', animated: "bounceslide", header: "h2" }); $("#list").html("<div id=\"MyGroupListing2\" style=\"width:300px;height:800px\"></div>"); } });[/CODE] [CODE] <div id="list"></div> [/CODE] | |
hi Im developing a procedure that should write some client side objects like an array or even enforcing asynchronous postbacks to the server using jquery ajax features.Im new to this and i get some minor errors after trying out the solutins. for registerarraydeclaration this is what i have: [CODE] clientscript.registerarraydeclaration("array … | |
I need autofill script but i dont know where to begin I have mysql databese table like this (records aprox. 400): id | product name | barcode | quantity | price ------------------------------------------------------------- 1 | procuct 1 | 0000001 | 21 | 12 2 | procuct 2 | 0000002 | 23 … | |
I'm struggling very hard to get this to work and I don't know what I'm doing wrong. I have a register page that I want to take the data inserted into the form and INSERT it to the database with jQuery and AJAX. I'm not very experienced with AJAX AND … | |
Hi. I'm making a form with some fields. Once the form is submitted it updates the page with a new div containing the data entered without refreshing. Im using jquery form plugin. What I'd like to achieve is the new div(.record) to .slideDown. I guess I need to somehow specify … | |
OK sorry if this has already been asked, but i need help with jquery found out a php generator i've been using to develop a website for work actually codes in Jquery... *go figure* i have a data grid that has a column count in the footer of the grid … | |
In JavaScript (preferably jQuery) how could I create a new element and set its values, but I want it in a specific place In the document. My divs are structured like this : [code]/* container item [item to be created inserted here] */ [/code] I know how to do this … | |
I want to be able to enter multiple addresses for customers but only show one on the initial customer form, with the others being added when they press a 'add another address' button. I can get this to work by putting the 'add another address' button at the bottom of … | |
Hi, I am new in jquery. I am working on a registration page.I did all the validation but facing problem during username validation. when a user enter email id in the textbox,it first check whether it is present in database or not.. if not present "register successfully" otherwise "email exists" … |
The End.