15,121 Topics

Member Avatar for
Member Avatar for alex8206

[CODE]<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>XYZ Travels Pvt Ltd.</title> <script type="text/javascript" language="javascript"> function a(){ var x = document.forms.frm1.UserID.value; var y = document.forms.frm1.Pass.value; if(x=="" || y=="") { alert("Required Field cannot be left Blank"); if(x!="") { document.forms.frm1.Pass.focus(); } else{document.forms.frm1.UserID.focus();} } …

Member Avatar for stanleyben
0
551
Member Avatar for Sorcher

I need to make this code set "str" as "Recent" if the "str" got no value. Right now i have to use this: [CODE]<form> <select name="users" onChange="showUser(this.value)"> <option value="">Select album:</option> <option value="Recent">Somealbumname</option> </select> </form>[/CODE] but its really annoying to have to use the select, i want the code to load …

Member Avatar for Taywin
0
94
Member Avatar for shyam87

<!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="text/JavaScript"> function Myconn(){ var cn = new ActiveXObject("ADODB.Connection"); var strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source = Test.mdb;Persist Security Info=False"; cn.Open(strConn); var rs = new ActiveXObject("ADODB.Recordset"); var SQL = "select * from Customers"; rs.Open(SQL, …

Member Avatar for shyam87
0
182
Member Avatar for newmaster

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 …

Member Avatar for Airshow
0
138
Member Avatar for Mawethu

I want to convert a binary value to a decimal value, but it seems to lengthy for me as I written the below ugly code, which is frusrating and constraining, any one with a short and nice code. [CODE]<html> <head> <script type="text/javascript"> function displayDate() { var a=document.getElementById("text").value //alert(a); var b=a.charAt(0); …

Member Avatar for Taywin
0
98
Member Avatar for jacob21

Hi, I am new in ajax. I am using a calender in javascript.& also using ajax code for form validation n submission. but calender is not working if i use ajax Need suggestions. [CODE] <script type="text/javascript" src="jquery.min.js"></script> <script type="text/javascript" src="script.js"></script> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="requirement_validation.js"></script> <script type="text/javascript">jQuery(document).ready(function($) {$('a[rel*=facebox]').facebox() })</script> …

Member Avatar for stbuchok
0
283
Member Avatar for jacob21

Hi, I m using this javascript code. for form submission i am using ajax.The problem is date calender is not showing when i use ajax file. If i remove ajax file,its working fine. Need help as i am using ajax first time [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> …

Member Avatar for Stefano Mtangoo
0
267
Member Avatar for elieobeid7

I've been trying for 3 days now to create an extension for a asp.net site and save the session, so you'll be logged out when you close the browser So i created the manifest.json and the popup.html, the popup.html opens an iframe which contains the site. in my other extension …

1
90
Member Avatar for heptasarim

Hello. I am new this perfect designed forum. About 1 week I have been searching that subject. I develope a site about study abroad. I want WP not Joomla or Drupal. Now the client as my friend wants a perfect site with search properties (by city, by price, by university) …

0
144
Member Avatar for extemer

hello friends may peace on you ! I have a little problem in my code.i want display the fetch value from db in a textfield after pressing load button.i am using ajax post method for it but cant figure it out what the problem.please help me ! Thanks, [B]Index.php[/B] [CODE] …

Member Avatar for ddymacek
0
210
Member Avatar for Slyvr

I have a web project I've been working on in my free time using mostly jsp. It's currently set up so that if a user clicks the login button it takes them to a check-login servlet which will return whether it's a valid login or not through a session.setAttribute("loginstatus","Valid"). Everytime …

Member Avatar for catherine sea
0
80
Member Avatar for Nuzhser

Hi! Look. I have such sequence A few divs with different names which are generated automatically [ICODE]<div id="<?php echo $oneid;>">[/ICODE] then I have inside each this div input fields and button with next attributes [ICODE]<a id="buttonid" class="button"><span><?php echo $button; ?></span></a> </div>[/ICODE] And below I have javascript which is applying only …

Member Avatar for stbuchok
0
71
Member Avatar for fredfletcher

[I][B]Hello,[/B][/I] I would have contacted the website's owner, but there's no email on the site. I'm looking for someone's help on this. By looking at the code below, the link(s) open in a new window, and wanted to know if there's something that can either be added, modified or deleted …

Member Avatar for ddymacek
0
230
Member Avatar for Nollyvenon

Please i have a form that has textfields dynamically generated and work fine.but i want to have one of the field display from the database while an textfield multiply the value from database for each of the lines.how do i do that? below is my code: <SCRIPT language="javascript"> function addRow(tableID) …

0
54
Member Avatar for 54uydf

I'm using the TinyMce and switched it to BBcode, it's saves the data fine, but it displays it later with the bbcode tags, should I write functions on my own that turn the bbcode into html tags, or is there something ready for that?

0
64
Member Avatar for ChaseRLewis

So I'm beginning to use JavaScript with a new gaming platform I'm trying out and LOVE the interface. It's making everything so easy compared to the in the garage type setup I'm used to. Learning JavaScript has been pretty easy so far but I've hit a snag with typeof. [CODE] …

Member Avatar for ChaseRLewis
0
104
Member Avatar for vinay.bharadhwa

In my application i am allowing only 3 admin users at a time to log in to the application. In case where one of the admin user directly closes the window or tab without signing out i need to invalidate the session or need to decrement the number of admin …

Member Avatar for vinay.bharadhwa
0
1K
Member Avatar for Virangya

Hi, Recently I developed a website and i want to play my tv card inside my browser(on that website). How can i do this..? Sorry. I have no idea which forum to use.. thanx..

0
85
Member Avatar for amulet_john

Please HELP Me!!! I want to directly pass the value of a javascript variable into php variable... I used this code below but it doesn't work.. Can anyone teach me how to do it?? PLEASE.. Thank you so much in advance.. Here's my code: [code] <script type="text/javascript"> var a = …

Member Avatar for ajbest
0
4K
Member Avatar for Joemeister

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 …

Member Avatar for stanley87
0
3K
Member Avatar for rohith426

We have a web based application in which users can give orders to their supplier. This process consists of login to the application, selecting supplier, get the products for the supplier, and select the products, key in order delivery date and comments. This process has 4, 5 steps (4, 5 …

0
82
Member Avatar for tawboiid

I hope this hasn't been discussed before. I searched but couldn't find a thread for this. I have an input (type="text") with some default text telling the user to enter something in the box. The input tag includes an onmousedown event which runs javascript function to clear the default text …

Member Avatar for tawboiid
0
358
Member Avatar for Mcdev

This is portion of my index.html [CODE] <script type="text/javascript"> function callPortion() { var xmlhttp; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("main").innerHTML=xmlhttp.responseText; } } xmlhttp.open("GET","welcome.php",true); xmlhttp.send(); } </script> …

Member Avatar for ddymacek
0
118
Member Avatar for reco21

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 …

Member Avatar for reco21
0
241
Member Avatar for JukesK

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 …

0
72
Member Avatar for Dwillich87

Hey I'm Dean I'm taking my BSc from distant learning so sometimes it takes forever to get the teachers or other students to help me on stuff I'm stuck on anyways. I'm given a task to show a quiz with a little clock running and to end the quiz and …

Member Avatar for Dwillich87
0
401
Member Avatar for akil007

I have the User Control in which ajax datepicker. Many instances of this user control are used in Same page. I have handle my logic like change of one value of one datepicker can change other datepicker through JavaScript. But I have faced that I does not get any uniqueId …

0
77
Member Avatar for Mylsamy

Hi All, I am using Java(Structs framework) for developing my application. User enter the values in text box in bottom of the screen. Then the page is refresh that is Request will send to Application after that the Screen goes to Top. But I want the page where I send …

Member Avatar for Taywin
0
58
Member Avatar for AdmiralCrunch

As is well known, the Javascript Date object provides a method getTime() to return the number of milliseconds since 1/1/1970. However, I'm seeing a problem when such timestamps are used in calculations with DOM Event timestamps in Firefox. It appears that the DOM Event timeStamp field in Firefox is the …

Member Avatar for stbuchok
0
154
Member Avatar for jasperuser

Hi all, I am currently working on jasper reporting. Designing reports using iReport Designer. Everything is working fine, but what I want to know is what is the way to use JavaScript in Reports (designing in iReport). For example, if i want to add the below code (clicking the button …

Member Avatar for jasperuser
0
741

The End.