20,316 Topics
This is partly PHP, partly javascript, so I wasn't sure where to stick it, but I'll stick it here. I'm sorry if this is a bit confusing, but I hope I can explain myself well. The below code queries a table in my database, and prints out a table with …
can anyone please give me the code (or point me in the right direction) to be able to password protect a web page with javascript that gets the usernames and passwords from a database and displays a message if the entered password or username is wrong and points the user …
Hi all. This is my first post to the DaniWeb community. I am a solo web developer. I program PHP, CakePHP and Javascript, and have done a few concept sites at <snipped> and a site that reviews blank resume forms, otherwise known as resume builders, available at <snipped> <snipped> Please …
hello guys, good day! i would like to seek for help regarding on how to cascade drop down list using struts tag <html:select> with ajax. it goes like this. drop down list 'A' is the list for Car Brands and drop down list 'B' is for the Car models by …
hi all, I am working on flight simulation using c++ and flight gear software. I have to create virtual rain fall in the scenery. I found some java scripts for rain falling. How i can embed it with c++? its very urgent requirement? pls help. Deepak
guys, i have a project to do this school year, and that is a dynamic website..the problem is that i don't have a good background with dhtml so can anyone recommend me a website that can teach me how???tnx
I'm trying to use Prototype's Ajax.PeriodicalUpdater to scroll through/display an array of items on an interval. So far I've managed to make it display a new item every 2 seconds, but it only works in Firefox. Haven't tested in Safari or Opera yet...but I know it doesn't work in IE6. …
Hi everyone, I am new to this forum could some one pls help me in tree view javascript menu. I have worked out well in both mozila internet explores but the issue is online + image should change to - image where it is not happening with me. help highly …
I try alot of way but still cant the radio button to work. i need the user to select one of them else an error msg will appear. I got the error msg to appear but it still load over to the next page as if i selected the gender. …
All, Problem: I need to be able to tell which version of the Java plugin is installed on a clients machine. I require JRE 1.5 for my applets. I have users that range from Java 1.3 to Java 1.6. I would like to use javascript to find out the version …
Hi, I am creating username and password field.In the password field if we gave type="password" then we will type password field in circle type but i want to change that circle type into *(star)type.It is possible in css.Can anyone help me how to do this in css thanks punitha pary
Hi all, Please help me in floating menu. I need this floating function should floting in table td. And should work in all browser. plz help me out soon. Below i have pasted javascript. Thanks Raj <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; …
Hi all again I'm very very new to javascript, post a help here on validate radio button got solve with the alert msg but still waiting for the solution on selecting either M or F. My next problem is validate dropdown menu, my default is select, i want the user …
hello how do i populate or change the values in multiple textfields using javascript? the textfields has the same ID because it is in a repeat region. i manage to change just the top most textfield using javascript. so how to populate the rest? [code] <script type="text/javascript"> function chalb() { …
Hi, A old friend of mine sent me a script for a contact form. I put it in my global.js file and trying to get my form to email the information to me. The form is jquery and ajax made and it works correctly by showing the form and when …
var sw_interval; var sw_x = 10; var sw_dx = 0; var sw_t = 10; var sw_cursor = 1; var sw_v; var sw_w; var sw_numItems; var sw_first; var sw_last; var sw_clipRight; var sw_ref; function moveSWBlueBox(n) { if(sw_interval == null) { if(n > 0) { moveLeft(n*swItemsInSet); } else { moveRight(-n*swItemsInSet); } var …
Hi there, I have a developer who recently quit due to school. Unfortunately one of his projects was left undone. [url]http://www.asucla.ucla.edu/eventservices/g_portal.asp[/url] The issues is that if you click on an image in Internet explorer, it doesn't bring up the images properly. There are no issues with it in Safari or …
I did a search as I had hoped this has been dealt with by someone before me. I'm trying to take a search form on a website and ONLY pass fields or values for fields that are actually selected or used. What I mean is this. The search form has …
Hey guys, I'm developing a portal to view a gallery (duh) of microsoft powerpoint presentation (ppt) files. If you're anaware, there's an option in powerpoint to output a presentation to a single MHTML file. I'm trying to use an iFrame to show this single file, thus showing the slides. [CODE]document.write('<iframe …
Dear brothers I want that my adbrite inline text ads open in new window, so its need ad code alteration. Can anyone here alter this given below code so that ads open in new window. Thanks in advance. Ad Code: <!-- Begin: AdBrite --> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=myid&br=1"></script> <!-- End: AdBrite …
Dear brothers I want that my adbrite inline text ads open in new window, so its need ad code alteration. Can anyone here alter this given below code so that ads open in new window. Thanks in advance. Ad Code: <!-- Begin: AdBrite --> <script type="text/javascript" src="http://ads.adbrite.com/mb/text_group.php?sid=myid&br=1"></script> <!-- End: AdBrite …
can i drag from label and drop inside form and set the form backcolor as the labels backcolor ?
I'm looking for a good DHTML menu that uses xml to dynamically populate the menu the sub menus can be edited so I can update changes to a xml file using php I looked everywhere and could not find any good DHTML menu that can be used with php
Hi, I created one table with some rows.In that row i insert one image in that image i gave one link but after creating link in that image outer side i saw one blue color line .Can any one tell with out blue color line how to give link to …
as the title suggests.. is it possible? we are planning to make an application that just uses AJAX to make Voice Calls as seen in Meebo.com. They've developed an application that uses flash with voice chat.. Is it possible using Javascript alone?
does anyone knows how to do this plz help
i'm perfectly new to this language, although the logic is same as c++ and actionscripts so i kinda get some of the tutorials.. i read through them and i can't seem to find the answer for this... maybe this is advance.. so.. please.. help... well actually my problem is i …
Hello, We recently upgraded a 3rd party JSP application to a new service release and we lost the following functionality: After we select (or highlight) some text on any text box or label on the JSP page, it gets un-highlighted after we right-mouse-click which leads to the copy menu not …
Hi, Im looking for the basic structure of how to make a piece of code (ideally a lightbox window with a flash file being displayed) but for now maybe a popup window, to be displayed at 12:00pm each day automatically. Can anyone help me with this task? Give me a …
how can we sent multiple values in xmlHTTP respnse, [ICODE] var xmlHttp function [B][COLOR="red"]callAjax(id)[/COLOR][/B] { if (id.length==0) { document.getElementById("txtHint").innerHTML="" return } xmlHttp=GetXmlHttpObject() if (xmlHttp==null) { & so on.................... ................................ [/ICODE] i want to add "id2" variable also like [B][COLOR="Red"]callAjax(id,id2)[/COLOR][/B] how can we do it?????? secondly, how can we intiame the …
hi , I design a form and load some controls with a specific value at run time. I give it a name "Job". till I want to save whole of the form with all its controls as Job1, Job2.... And show all no. of jobs in a list. If I …
Hi, I am facing multiple event issue. Details are as follows. I have a jsp page which has two textbox component (assume their names as A & B both takes numbers only) & one submit button. onBlur() event of B, some validation method validates that control should only have a …
When using this HTML code: You get a rectangle where the location is stored, and a button labelled "Browse..". I would like to redesign the "Browse.." button and I was told this would have to be done using mainly javascript and abit of css (I thought it would be the …
Hey, i've got a problem, i'm trying to make a drop down box but so that the first value chosen automatically updates the fields that you can choose in the second drop down menu. Yes this may seem easy, but the thing is that each values need to be populated …
hey guys how are you all? i am recieving the following error in all my pages except my homepage on internet explorer. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.phpLine: 49 Char: 1 Error: 'null' is null or not an object …
I want to make sure at least 3 characters are entered into a search field. For example I dont want this to go by where it has spaces in beginning and space between 2 characters: [code] a b [/code] Is there a regular expression or someway to trim the spaces …
I'm having a weird issue. I am using ASP classic and some javascript in an XHTML page. My page seems to load fine in FireFox but IE takes forever to load and in the status bar it says it has OVER 4 THOUSAND items to download and ticks them off …
If I have the following code: <form> . . . <select id="lstOtherStuff" multiple="multiple" size="6" style="width:200px;"> </select> </form> and I need to pass the variable "1stOtherStuff" (which is an element in an array) to a PHP script, how do I do that? If I use the following code, I can access …
hey guys, the browser gives the following error when i open my webpage. [code]Line: 49 Char: 1 Error: 'null' is null or not an object Code: 0 URL : http://www.worldofpakistan.net/register.php[/code] the code of the page is as follows: [code=php] <!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" xml:lang="en" …
An item is selected from a list and then used as a variable in a PHP script to identify and retrieve some data from a specific record in a MySQL database. Here's the code for the select script (first a javascript external file, then an html file) : [code=JavaScript]/* This …
Hello, I am designing my website and I want people visiting my site to be able to submit a form. However, if they submit a form, I would like to require certain information to be submitted. I got a script from Dynamic Drive that is supposed to do that but …
Good Day! Please help with my requirement, I'm more on a graphic designer and has little knowledge in programing, mostly on basic html only. I have a web page I created in Flash and exported to an html page. I need this to have a predefined username / password (pass …
hi there. i created an xml, xsl, and html files and i need to create a drop down list that will allow me to quesry database my xsl files is [QUOTE] <?xml version="1.0" ?> - <Kwantlen> - <Schedule> <Semester>Summer</Semester> <Department>CISY</Department> <CourseName>Emerging Technologies</CourseName> <Prerequisite>CISY1218</Prerequisite> <CRN>2583</CRN> <Days>Monday</Days> <StartTime>16:00</StartTime> <EndTime>19:00</EndTime> <RoomNumber>G1045</RoomNumber> <Instructor>Sen</Instructor> <FinalDate>August …
I just registered, and I thought it would be polite to say hi! I'm from Romania and also a JavaScript developer. I've been in the web development industry for many years and I prefer to work mostly with Microsoft's products. I'm glad to be a part of this great community!
Hi All. Having a little problem I would like some help with. Using Mootools v.1.2 to make an accordion on my page. And it works fine. But I would like it to go the top of the element you clicked on (like it had an anchor). Right now if the …
I just created a new JavaScript framework: [URL="http://june-js.com/default.aspx"]JUNE[/URL] I'd really appreciate your feedback! It has great support for Event handling, DOM manipulation and AJAX. Also, it contains a set of 8 of the most used widgets on the web, such: Accordion, TabControl, etc. Thank you!
Hi, my first post. I'm trying to gather attendance records between two dates the user selects. I have two tables 'attendance' and 'artists_details' which I'm hoping I've successfully joined. The field I'm working on is just above the commented one 'ethnicity=maori'. I get no errors, however whatever dates I choose …
Hi. I am unable to create file object from javascript in Vista platform. ex. i am using this statement javascript var oFso = new ActiveXObject("Scripting.FileSystemObject"); after executing this and make try catch block for this i am getting this error "Automation object can't create object". I have enabled some options …
hey guys ..im new to javascript .. i hav a validation function which alerts by showin error ..bt wen der is no error i want to continue to my next form ..ie a html page ..i tried to check on error bt stil its nt redirectin .. . waitin for …
I'm having one heck of a time trying to match a tag. It looks right to me (and checks out in all of the Regex Tester webapps I've tried) but does not work when I put it to use. The following is the code (with site address and name replaced …
The End.