920 Topics

Member Avatar for
Member Avatar for k9huey

I am making what I call a PM (Preventive Maintenance) Kit list. My users will use this list to generate a printable sheet to tell me what they used out of there kit. The list includes pricing per part and I would like the list to calculate the costing as …

Member Avatar for k9huey
0
2K
Member Avatar for RazorRamon

Ok i'm trying to build a forum with jquery ajax characteristics. Below is the html/jquery coding. And i know jquery is loaded because I did the [ICODE]alert(1);[/ICODE] inside the document ready and it worked. [CODE] <!doctype> <html> <head> <title>Shouts!</title> <script src="jquery.js"></script> <script> $(document).ready(function() { $("#messages").load(function('loadchat.php'); $("#post").submit(function(){ return false; }); }); …

Member Avatar for xylude
0
550
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
109
Member Avatar for vaanipala

I'm trying to populate the city select box based on the selected state (which is also a select box) using Ajax. When i select state, the city select box is not being populated. There are 5 models below: Student, MerryParent, MerryClass, State, City. All of them are related to one …

Member Avatar for vaanipala
0
514
Member Avatar for petrakid

I am trying to write a script that will update my database(s) without the user having to click any buttons. I also want the update to occur whenever a field is modified in the form. So here is an example form [CODE] <form> <input type="text" name="fieldone" value="currentvalfromdb" onChange="updateDB()" /> <select …

Member Avatar for petrakid
0
1K
Member Avatar for Zibo

Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> …

0
86
Member Avatar for Zibo

Hello. I'm trying to add a single test record (a comment item) to my MySQL database. So here are my sources of JSF2 project. - main xhtml page: [code]<h:body> <h:panelGroup id="mainBlock" layout="block"> <h:panelGroup id="header" layout="block"> <h:graphicImage value="resources/logo.jpg" style=""/> </h:panelGroup><br/> <h:panelGroup id="menu" layout="block"> <h:panelGrid columns="1" style=""> <h:outputLabel value="MENU" style=""/> <br/> <h:form> …

Member Avatar for Zibo
0
132
Member Avatar for devinodaniel

Hey folks. Out of necessity (and against web standards, I know) I must have two div with the same ID on one page. I'm trying to dynamically update a database with Ajax and update this div with that info. But when i go to update the second divd (with the …

Member Avatar for Airshow
0
231
Member Avatar for vgkarthi

how to get DWR readyState as in AJAX. I am using Springs. Problem for me is sometimes the Flow continues even before Ajax values being returned and hence ends up in some error. If I can get the readyState, then i can check whether it is 4, so that I …

Member Avatar for stbuchok
0
108
Member Avatar for klemme

[B]I need to update one select box, depending on what has been chosen in an other select box. [/B] I know I need to use AJAX, but I havent used AJAX ever before, so I am a little lost on how to implement it. [B]This is the first select box:[/B] …

Member Avatar for klemme
0
1K
Member Avatar for jacob21

I am trying to use phone validation of 10 digit & check the filled data is numeric or not.. Need suggestion. Below the function i am using [CODE]validate: function () { contact.message = ''; if (!$('#contact-container #contact-name').val()) { contact.message += 'Name required. '; } if (!$('#contact-container #contact-phone').val()) { contact.message += …

Member Avatar for pritaeas
0
649
Member Avatar for nsyncpilu

Hy , i`m new on the forum , so Hello to all , I want to make a "mini robot" that autocalls it self every night at 12 o`clock , and calls a php function that deletes some records form database on some criteria.My problem is not what the php …

Member Avatar for nsyncpilu
0
100
Member Avatar for erum

i have following code [CODE]<div id=date_check visible=true runat=server> <strong>Check-In Date</strong> <%-- <asp:TextBox ID="txt_checkin" runat="server" onchange="checkdate(this);"></asp:TextBox> <a href="javascript:calendar_window=window.open('calendar.aspx?form1=form1.txt_checkin','calendar_window','width=554,height=488');calendar_window.focus()"> <img alt="" src="images/calendar.png" /> </a> --%> <asp:TextBox ID="txt_checkin" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender1" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkin" Format="dddd, MMMM dd, yyyy"> <%--<input runat=server type="text" id="txt_checkin">--%> <strong>Check-Out Date</strong> <asp:TextBox ID="txt_checkout" runat="server"></asp:TextBox> <ajaxtoolkit:CalendarExtender ID="Calendarextender2" runat="server" OnClientDateSelectionChanged="checkDate" TargetControlID="txt_checkout" Format="dddd, …

Member Avatar for DeadSoul
0
617
Member Avatar for pxndx

Hello daniweb users, i would like a brief walk through on AJAX if you'll can, i already looked through the post and didn't find what i was looking for, i would like to know how to refresh evertying on a web page but the header, which contains the navigation bar …

Member Avatar for pxndx
0
154
Member Avatar for Nitin Daphale

In my project, I have a page which having, Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> . When I set control values(textboxes,labels) on that page, I am not able to refresh the page even through web browser(retype url). All values persist on the controls. Anybody can talk about problem and solution? Thanks in advance.

Member Avatar for Nitin Daphale
0
182
Member Avatar for jssutton11

On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a …

Member Avatar for jssutton11
0
182
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Member Avatar for ko ko
0
151
Member Avatar for clbembry

What I have is a button, and whenever a user clicks it a MySQL database field gets updated and the value is displayed to the user. I'm polling every 800 milliseconds and it's very laggy/glitchy. Sometimes when clicking the button it doesn't register it. And I actually need to be …

Member Avatar for Airshow
0
103
Member Avatar for ronnieaka

i tested the php version of the autocomplete example in ajax using PHP from here: [URL="http://www.w3schools.com/ajax/ajax_aspphp.asp"]http://www.w3schools.com/ajax/ajax_aspphp.asp[/URL] i tried the PHP veriosn, not the ASP version. It worked fine. Now i want to implement the same thing in JSP, and so i translated the PHP version of source file (which has …

Member Avatar for ronnieaka
0
229
Member Avatar for jeevanism

The case scenario is like I have to check all available usernames/names from the databases whenever I type the letters instanly. For example:- When type "je" in the userfield, it should show all combination of names starting with "je" inline. I am attaching a picture as sample. Its indian railway …

Member Avatar for urtrivedi
0
201
Member Avatar for nunos

Hello all. Even though my javascript/ajax knowledge is very low, I would like to be able to do the following, for which I ask you for help: I have a python script that runs from php with exec command. It takes about 5-10 seconds to complete. While the python script …

Member Avatar for twiss
1
1K
Member Avatar for nats01282

Hello im creating a small social network from scratch and struggling with the newsfeed i have the newsfeed loaded through ajax then page loaded remotly i have a timeago jquery script and the timeago script is not working, but when i get rid of the ajax auto refresh and use …

Member Avatar for ko ko
0
188
Member Avatar for Thyvo

Hello, First of all, don't kill if I posted this in the wrong section. I'm trying to find a decent tutorial for the HTML 5 drag and drop upload. I have allready searched hours before but could'nt find a decent tutorial. Basicly what I want is a drag and drop …

Member Avatar for Thyvo
0
134
Member Avatar for Braden0007

hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is …

Member Avatar for twiss
0
208
Member Avatar for weblexie

Hi, please help me with my code. Javascript function if (document.myform.Available.checked == false) { document.myform.Save.disabled = true; <?php $query = mysql_query("UPDATE rewarditems SET Available = 'Yes' WHERE RewardItemID = '{$_GET['item']}'",$link1) or die(mysql_error()); ?> } else if (document.myform.Available.checked == true) { document.myform.Save.disabled = false; <?php $query = mysql_query("UPDATE rewarditems SET Available …

Member Avatar for ko ko
0
105
Member Avatar for cutexxbaby

hi i am doing a project now i going to use ajax to retrieve coordinate from the json in html and pin the coordinate onto a point on the map using javascript but the problem is i am only able to use one point on the map can tell me …

Member Avatar for Airshow
0
187
Member Avatar for michaelzip

Hi. I don't know where the problem is. The next codes is working on Google Chome but not in IE. I haven't tested yet on Firefox. function.js [CODE]function getSheetCount() { var xmlhttp; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { var …

Member Avatar for michaelzip
0
334
Member Avatar for weblexie

Hi guys, please help me. $GetList = mysql_query("SELECT ItemID, Available FROM rewarditems",$link1); while($row = mysql_fetch_array($GetList)) { $ItemID = $row['ItemID']; $Available = $row['Available']; echo("<form name='myform' method='post'>"); if ($Available == 'No') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' name='$ItemID' value='process.php?action=Item Availability&item=&$ItemID&available=Yes' checked></p></td>"); } if ($Available == 'Yes') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' …

Member Avatar for weblexie
0
121
Member Avatar for ashley2011

Will someone please help me out in javascript, jquery, and css? I really want to use this menu at this web page: [url]http://designreviver.com/tutorials/jquery-css-example-dropdown-menu/[/url] However, I would like to have this menu as a multi level menu. Currently it is two level. How to make this menu as three or four …

Member Avatar for twiss
0
52
Member Avatar for SaroGFX

Hi there guys, I'm very new to AJAX so i'm not sure if it's possible or there is already something like this available. But i'm looking for some kind of horizontal slider. Not an image slider with arrows or something like that. But more like a timeline which you can …

Member Avatar for SaroGFX
0
170

The End.