20,316 Topics
How do I import External HTML file using JavaScript and without using frames?
If you want to create Ajax based web solutions. I will recomment ZK framework. Take a tripp to ZK I'm developing websolution with ZK, Java and PostgreSQL. [URL="http://www.zkoss.org"]http://www.zkoss.org[/URL]
hi people, I am weak in most computer aspects, i think because of my school. I am creating this website and inside it there is a registration page. I used tables to create this page. So, text fields, radio buttons and check boxes belong to different forms. I want to …
[B][/B] Hi, I have 3 radio buttons which are in the radio button group. On tab change it has to focus on next radio button. I have written a function to do that, but Its going from first to second radio button, after that again its coming back to first …
im trying to do a button that will be able to add automatically textboxes,radiobutton or other forms. [B]for example of this is that i have 1 row that consist of a textbox and radiobuttons, then below there is a button named add. when i click add same row will be …
Hello, My name is Djamal. I am 38 years old living in Dubai, UAE. I am a senior manager in the Aviation service industry. I have always been interested in IT and other technological fields. Lately, I have started studying VB.Net via distance learning (Penn Foster Career School). I am …
Hello friends, I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full …
Hello friends, I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full …
Hi, I want a messagebox or alert to appear in my screen after i click on a link. I can do popup windows but i can't do this. How do i this? Thanks
The client needs to select a vendor from a drop down list (Select). The list is quite long, so it takes some time to load and scroll. It would be better if there was a way for the client to type in the first few letters of the name and …
hello guys i am using google ajax feed api to display feed for my site and i am having problem to display the description as a tooltips. [code] google.load("feeds", "1") function rssdisplayer(divid, url, feedlimit, showoptions){ this.showoptions=showoptions || "" var feedpointer=new google.feeds.Feed(url) feedpointer.setNumEntries(feedlimit) document.write('<div id="'+divid+'"></div>') this.feedcontainer=document.getElementById(divid) var displayer=this feedpointer.load(function(r){displayer.formatoutput(r)}) } rssdisplayer.prototype.formatdate=function(datestr){ …
I'm trying to determine which button was pressed when I'm unsure of how many buttons there actually are... The smarty template that I'm using creates the input buttons based on a query that happens in the associated php script. I don't know how many input fields will actually be generated, …
Well heres the code im using, can anyone either fix this code to make it work or suggest a better way of doing this, thanks. [CODE=javascript]function ValidateForm() { if (document.submitform.email.value=="") { alert("There is no email entered!"); return false; } if (document.submitform.email.value=="Enter your email...") { alert("Please enter an email!"); return false; …
I was wondering if someone could help me out here. I do not have the slightest idea how to code in AJAX. I need a swf loader for my website that will sit in the footer. The basic idea is to have a titled entry box that takes input and …
Please, estimate the operation of [url=http://design.antigov.org]engine for site[/url] All the pages are made only in HTML, and there is only the text of central column material; building of menu and of other things, display of CSS styles are performed with Java Script, it should be put at the beginning of …
I usually code all my Javascript in a single external file that accepts the data from a form in the main page's HTML textarea box. Now I would like to break up this single Javascript file into separate files. For example, I'd like to have main.js as the main controlling …
Help required please. I am using the following Multi image script: [url]http://www.javascriptkit.com/script/...ultishow.shtml[/url] Is it possible to make clicked slides that link to a unique url open in new window? Many thanks.
Hello everyone, I need to create several xmlHttp objects, but I only want to have one GetXmlHttpObject() function, so that I don't have to repeat for each object. Below code is definitely wrong because... how do I return the needed object from the GetXmlHttpObject() function? Really appreciate, M [code] var …
Hi, I run a free dating site that's written in php. I tried running banners thinking members would support the site by clicking on these, however no one is purchasing anything. Could I use some type of javascipt that would set a cookie and then force a user to perform …
Hi this is scorpionz here I am working on some exams stuff... Now the thing i want to mention here is that: a text boxes created by php code, means a text boxes shaped in this way: [code] <input type="text" name="total_points<?=$i?>" style="width:50px;" > [/code] Now these are created severals. I …
hello how to purform javascript inner html loading it is possible? example ?
Hi all, How do you read specific <div> tag from responsetext? And also, is it possible to count how many <div> tag are there in responsetext? I have been googling for quite sometime but didn't find any tutorial or explanation nor answer. Thanks for the help.
Help required please. I am using the following Multi image script: [url]http://www.javascriptkit.com/script/script2/multishow.shtml[/url] Is it possible to make clicked slides that link to a unique url open in new window? Many thanks.
My problem is this: I want to call a pege by javascript (the page where I am but with different parameter) onchange="window.location.replace('utenti.jsp?mese=3')" But tomcat don't allow me to do this and give me this error HTTP Status 404 - /CosentinoDiFederico/utenti.jsp type Status report message /CosentinoDiFederico/utenti.jsp description The requested resource (/CosentinoDiFederico/utenti.jsp) …
Hi all I m making a project in which i have two textboxes to enter time of Departure and Arrival. The User can enter any string value in a textBox. But i want that user must enter a time format value with am/pm. Is there any component or coding for …
Hi' my name is Paul. You may think I suffer form Al's. ... You know' I know it to day, but have forgotten about it tomorrow! About me! I'm a 56yo male, and have an interest in Web development. ( Well that's my current project anyway!). I am interested in …
Hello, I want to use javascript to fade in a layer after the user click a button. please help me I want to that animation to work in Internet Explorer and Firefox, I searched on google and found. obj.filters.alpha.opacity, but it doesn't seem to work. Please Help Me.
The function below has 2 alert boxes. When I run it, sometimes the outer alert box comes empty. Please explain in a human manner why . [code] function ItemCount()//returns the number of items in carousel { if (window.XMLHttpRequest) { var req = new XMLHttpRequest(); } else if (window.ActiveXObject) { var …
I have a new site. In my contact us page I create a form about service inquiry. Unfortunately it is not working so is there anyone can give me a javascript for a form that forward the message to email address.
So I want to make a [B]slide show[/B] where an image can be seen, then fades out to the next image. However I do not want any next/previous buttons, or a description. I would also like it to display images from a [U]sub-folder or possibly xml[/U]. Right now I am …
hi, all if we have a flash player file in our file and if user doesn`t have it then browser will display the small window saying to install missing plugins if we click install it will install without going to respective flashplayer site .is there any javascript code to achieve …
I have taken into designing websites for some people. Not only is it fun but its helping my skills along. Now I came into a problem. I can put some writing in there saying the site was designed by me, even use javascript to do it, but people can just …
Have a good day, i am new to ajax, i wana display image during page load time, just like happen in youtube videos at loading time before palying. Secondly when we update any page through ajax, how can we diplay message after updation, just like "You Successfull updated the Page", …
Any help is much appreciated! Alright, after searching for several hours/days through forum posts and tutorials, I haven't managed to find any solution for my 2 problems :( . Time to post... I'm fairly new to div only layouts as well as list items, so bear with me... I might …
Hey again, Is there a way to capture multiple key presses? Here's what we want to do: When a user wants to drive the robot manually from the keyboard, we want to allow them to press WASD to determine the direction they move. The problem we've run into is say …
hi, i m having problems displaying values in a tree menu from the database. I ll try explaining wat i did so that that ll help to solve my problem. I have two tables in the database one with name 'addcourse' and the other with the name 'subcourse'. what i …
Hi All, on my client's server in the php files JS script getting embedded. the site is built in Joomla. is it virus or some problem with the joomla?? can any body please help me how can i get rid of it. this is the script which gets embed function …
hello, I just noticed a problem in my code. hope you'll would help me. normally we have a login page where the userid and password is validated from database .now the problem what i am facing is [code]while(rs.next()) { if((rs.getString("m_emp_no").equals(user)) && (rs.getString("m_password").equals(pwd)) ) { " " direct to some page …
Hi, How do we increase and decrease a counter when we click on a selectbox? Example: I have 3 selectbox. Whenever i click on one selectbox it will print on screen a message 1 selected, 2 selected 3....... Thank you very much
Hello, I'm a web developer and live and work in Vancouver. I'd like to make and meet new friends here. I am especially experienced in RoR, CSS, and javascript, if you need help with any of these, let me know. Cheers, Harry
hello everyone iam new in this forum, i want to create horizontal menu contains p1,p2,p3 if iam click or move mouse to p1 new window open in right hand side show the details,and move on to p2 p1 window is get invisible and new window for p2 show the details …
Hi, Using js i want to send mail can anyone give some example code for that Thanks and Regards Punithapary
Can a html that contains JavaScript be loaded in Swing ?
im Justin Goldsmith i can script java and lua for instance i have made places and scripts in a game called roblox that uses lua and java scripting and their workers use C++ And C# which i am learning if you want to see one of my scripts then tell …
I initially created a post for my problem here [URL="http://www.daniweb.com/forums/post678373.html#post678373"]http://www.daniweb.com/forums/post678373.html#post678373[/URL] I received a response saying my answer lay with ajax. Please feel free to make suggestions like there's no tomorrow ;) P.S. I'm know very little when it comes to Ajax so something with comments in it would be great.
Hi there I have a form with a file input field on page 1 and a progress bar on page 2. What I'm trying to achieve is for a user to fill out the relevant fields of the form and once he/she hits submit, it takes the user through to …
Why this code is not working. [CODE] <!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=iso-8859-1" /> <title>Untitled Document</title> <script language="javascript"> var http=""; if(navigator.appName == "Microsoft Internet Explorer"){ http = new ActiveXObject("Microsoft.XMLHTTP"); } else{ http = new XMLHttpRequest(); } function insert(){ document.getElementById('error').innerHTML = "Please …
I have a javascript that looks up some details on googlemaps for me, then returns them to a php script that does the web bit I actually need doing. I actually works by filling in a form and submitting it, so that php can handle the data. However I now …
Hi thanks for looking. It's quite straight forward really. As opposed to allowing all possible divs to be displayed I would like to make them all collapse and then only expand the one that the user clicked on. Simple right? OK so here is my code right now, which allows …
in my code i am listing some tables using <li> and my code is <ul id='test'> <li><table1><tr><td></td></tr></table1></li> <li><table2><tr><td></td></tr></table2></li> <li><table3><tr><td></td></tr></table3></li> </ul> can i change the id of the <ul> when clicking on the <td> of the table??? very very thanx in advance... :)
The End.