15,698 Topics

Member Avatar for
Member Avatar for azegurb

hi all, I have built search form that it retrieves information from database. for ex: when i click axtar (search) button it retrieves normally but when i click ENTER button via keyboard instead of axtar (search) button but it only displays results with white blank page here is web page …

Member Avatar for Airshow
0
106
Member Avatar for come_again

Hello, I'm trying to access a value from an input form. I know this works without the onkeyup event but with it it says the that document.formname.elementid.value is undefined! Its extremely frustrating. As the user types into the input, I am using AJAX to generate some more options which works …

Member Avatar for Airshow
0
216
Member Avatar for AngelicOne

I'm using javascript for my client validation and I would like this to work the way I wanted to. I have three textboxes for last name, middle name and firstname. All the fields are mandatory and if the form is submitted there would be an error to display below the …

Member Avatar for AngelicOne
0
247
Member Avatar for jonsan32

I've got this scrolling marquee code to work on this page: [url]http://www.jamball.com/2011/07/club-teams.html[/url] [B]but it goes crazy in IE[/B]. [COLOR="Red"]I know IE sucks[/COLOR], but over 40% of our customers use it. Is there a way to fix the script, or must I scrap the entire idea? There is a table in …

0
105
Member Avatar for faganj

The problem that I'm having can be seen on this test page: [url]http://science.nature.nps.gov/im/1test.cfm[/url] We have a new mandatory Cold Fusion server-side redirect process for linking to external sites. We have some off-site links that use javascript drop-down menus that required a javascript work-around to work correctly with IE. The javascript …

0
98
Member Avatar for ErangaD

I am a VB.net programer and I am very new to PHP HTML and Java Scripts I am doing a project for my company using PHP HTML and Java Scripts and I want to Know how to make readonly a text box after it gets the input This text box …

Member Avatar for Airshow
0
176
Member Avatar for RazorRamon

Can you all tell me the difference in these 2 codes? I'm trying to learn JQuery and ive seen this code below in the tutorials. [CODE] $DB->Query("Select * FROM time"); [/CODE] I'm use to coding queries like this. [CODE] $res = mysql_query("SELECT timestamp, name FROM time ORDER BY timestamp DESC"); …

Member Avatar for P0lT10n
0
153
Member Avatar for phaedrusGhost

Hi all, I found a slider that works quite good out of the box with the exception of one thing, sizing images to their proper size instead of default to the smaller size. I will most likely need to add various widths so I hope to have it display them …

0
82
Member Avatar for petrakid

I have two scripts. The first script creates a row in a table: [CODE] function addRow(tblId) { if(counter == limit) { alert("You cannot add more than " + limit + " passages!"); } else { var tblBody = document.getElementById(tblId).tBodies[0]; var newNode = tblBody.rows[0].cloneNode(true); tblBody.appendChild(newNode); counter++; } } [/CODE] ... the …

0
93
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 MARKAND911

I have a textbox named "txtMoney" I want to validate this textbox using javascript. And its validation criteria are as follows [LIST] [*]Negative number is not allowed [*]All numerics. No letters [*]Only two digits after decimal [*]Maximum 12 digits including decimal [/LIST] How can i do this.

0
68
Member Avatar for cjohnweb

Let's say this is an unknown error, possibly a syntax error, possibly an HTML error - I can't be sure. Hey there, I'm a PHP expert, but not so well with JQuery - I'm just starting out with JS in general. I have a PHP based site I am working …

Member Avatar for Airshow
0
218
Member Avatar for AngelicOne

I know I am doing this right but it just doesn't work. The condition for radiobutton that if it's not checked then an alert should display. But it won't work! [CODE]<script> function valid() { var element = document.forms["form"]["gender"]; var check = false; for(i=0;i<=element.length;i++) { if(element[i].checked) { check = true; break; …

Member Avatar for AngelicOne
0
122
Member Avatar for emmas4impact

Dear all! I have a final year project on Google maps. The aim of the project create a map for a farm land in a city and to read the data to be displayed on the maps from a database. But the thing is I need someone who has done …

Member Avatar for emmas4impact
0
972
Member Avatar for uniquedevil65

hello everyone im new to this site and i require to submit a project title and i have to complete this project in html

Member Avatar for uniquedevil65
0
47
Member Avatar for floatingDivs

Hey guys, I've spent the last 20 or so minutes developing an OOP cookie-setting script. Unfortunately, even though everything I'm printing out via alert looks correct, the cookie won't set. Can someone take a look and see where I've made a mistake? [CODE] <script type="text/javascript"> function Cookie(){ this.cookieName; this.cookieExpiration; this.cookiePath; …

0
64
Member Avatar for sha11e

I couldn't do a xmlhttp.open("GET","website.com", true) The problem was something along the lines of the script not being allowed to call a page from another domain or something.. Is there some way to make it work anyway? =(

Member Avatar for Airshow
0
93
Member Avatar for Joemeister

Hi everyone! I'm really struggling at the moment calling these two functions. The one function checks that all the fields are filled in and the other to validate the date in a certain format. The function that checks all the fields works but when I try to call the second …

Member Avatar for Airshow
0
581
Member Avatar for faizurrahman

AS javascript date function return gregorian Date. Can I retrun Hijri Calendar date from javascript date function and how? Thanks in advance

Member Avatar for Airshow
0
1K
Member Avatar for rajeesh_rsn

Hi, In one of my web page When user clicks a thumbnail view of my page then the main Image will show that corresponding My code as followa jQuery('products li img').click(function(){ var as=jQuery(this).attr('href'); jQuery('#mainImg').attr('src',as) }); My doubt is at the time of user clicks on that thumb a small preload …

Member Avatar for Airshow
0
58
Member Avatar for antonyruban

I write a upload code in php no problem in php but i want to select a multiple files(images) in single form tag(<Input type=file>) is it possible then how? help me

0
58
Member Avatar for Violet_82

Hi there, I am having a few problems with my website [url]http://antobbo.webspace.virginmedia.com/photography/testing/home.htm[/url] in IE6. Now, I don't want to waste too much time on this, as in I don't want ti to be perfect but I just want it to be looking decent in IE6. I created a separate css …

Member Avatar for Violet_82
0
107
Member Avatar for rinjin07

Hey all, I'm a total IT beginner and have been trying to figure out how to put raw html with css and javascript in the header on an article in Joomla 1.7? I heard about this JCE thing but no idea how it works. If someone could explain it to …

0
103
Member Avatar for riseguim

Hi, so I have this script that alternates my CSS stylesheets and it's working great. The thing is, there was a cookie coding that was included but it doesn't work. Basically what I want to do is that the browser remembers which stylesheet the user had chosen and keep it …

Member Avatar for riseguim
0
179
Member Avatar for anita_86

Hi!! This is some of the code I am using to add dynamic rows when user clicks the Add Row button.I want to show the calculated amount like: line_total=qty*unit_price; sub_total=total of line_total; total=sub_total+tax-advance; [CODE]<script type="text/javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; if(rowCount<3) { var row …

Member Avatar for anita_86
0
148
Member Avatar for choboja621

I have a problem building a simple prompt message that will ask the user the ff. First no. Second No. Operator being used + - * / % So far, i have this codes: Kindly help me.. Thaaanks! [CODE] <html> <body> <script type="text/javascript"> var num1, num2, ope, sum, diff, prod, …

Member Avatar for choboja621
0
90
Member Avatar for arsala211
Member Avatar for raghujosh

I have a google maps application which has an address text box. When we type in the postal address, it gives the corresponding latitude and longitude as a pop up info window on a google map. All i want to do is to be able to get the latitude and …

Member Avatar for Airshow
0
5K
Member Avatar for 54uydf

this is like my last hope guys! lol I need to generate a diagram that looks sort of like this only 4 times bigger using data from db [url]http://imageshack.us/photo/my-images/827/unledoyt.jpg/[/url] my db is MySql, I don't think this is possible using php, but I saw there are a lot of grapf …

Member Avatar for almostbob
0
119
Member Avatar for newbie14

Dear All, I have a link here [url]http://183.78.169.54/v3/addCVC.php[/url]. First if you select the name T1 via ajax the second drop down list is populated. Then pick anyvalue from the second drop down list and your will get a table populated below it. Then finally when you press submit button I …

Member Avatar for newbie14
0
90

The End.