15,120 Topics
| |
I am self taught in php only. now im starting to learn javascript as well. I have noticed so far that I can dynamically creat my pages, forms, validation etc... with js just like i can with php. (at least that seems true so far from what i am learning). … | |
Hi, am currently trying to create a social networking website but I am having problem with the AJAX part... All i want to do is have a form to both insert the data in my database and to add this data dynamically to a table below it, thus each time … | |
I'm sending out AJAX request for a XML file to plot a chart. The problem is everytime the response comes back, the chart refresh itself, even if the XML is exactly the same. I would like to use Javascript to check the content of the reponse XML with the cached … | |
I dynamically create text box with java script and post the value in next page by IE but when i use mozila or google chrome it does not work. The script is as follows function addRowToTable() { var tbl = document.getElementById("tblSample"); var lastRow = tbl.rows.length; document.inp_form.total.value= lastRow; var iteration = … | |
Hi to all, I need to embed a mov file in a HTML file, the problem I found is that the Quicktime player is window mode and I need it windowless, I check not found a property to set it windowless, for windows media player exist the following property: [code] … | |
Hi frnds, I found a code that is make autosuggestion text box according to user input. i make some changes on it and it works fine for auto suggestion text box. but now i want to add a button in a side of that text box,when we click on it … | |
Hello Everybody I am developing a small project on word game. My requirement is that I have to show time out say of 25 secs on JSP page. Code which I am using is [CODE] <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> <title>Insert title here</title> <script type="text/javascript"> var timer = null … | |
Hi there, I'm trying to figure out the Java Motion tween found on [URL="http://jstween.blogspot.com/"]this site.[/URL] It's for a class project due in 2 days, and I'm trying to have a link on my webpage tween in a div. The div is already visible on the screen, and I just want … | |
I am trying to do some JavaScript calculation with checkboxes, and have been able to modify some codes to do bits of what i want to do. (Screenshot attached) However, i want each checkbox to have multiple values, and therefore multiple results. I can't find any examples, but i've come … | |
Greetings, After A Long Search on the Internet , after i left my Graphic Design Career , I Want to start Scripting With JavaScript So I Need to know the first steps for this world and also want to know a good program for HTML like front-page or dreamwaver or … | |
1. Write some JavaScript code that detects the user is running on either Netscape or Mozilla and greets with the appropriate message . 2.Name four browsers that can recognize JavaScript code | |
a Given the following code segment: [CODE]<html> <body> <script type=”text/JavaScript”> Var mypets=new Array () mypets [0] =”cat” mypets [1] =”dog” mypets [2] =”rabbit”[/CODE] b Use for statement to output the values of the array mypets c Explain the output of the following JavaScript statements [CODE] Var age =24 Var allowed=(age>18)? … | |
please advise on how to go about implementing pop up messages on a web based system. where by a user logs in to the system using the email address and when logged in he/she can be notified on incoming emails. how can i capture incoming emails and implement a pop … | |
Don't see what I missed to get this working. I've looked over it a couple times bumping it to my book and didn't notice any difference. Anybody see what I missed? Thanks. Jake [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Personal Organizer</title> </head> <body> <script type="text/javascript"> <! … | |
i want some help for an onChange event for 2 drop down lists in javascript. if the 2 lists for example contains exactly the same values. let say A B C D, if the user chooses the B then automatically the B value in the second list should dissapear, if … | |
Hello! I have created a button in the body my web page using the following code below: <input type=button onClick="parent.location='btb-lad-home.htm'" value='Home' style="font-family: comic sans ms; background-color: #872175" > (I have no code for my button in the head of my web page.) Although the code above creates a button with … | |
I am working on a simple tool for my office.We have a very huge database with 5000 tables. All the tables, Columns and their attributes are stored in to excel sheet. Tool I am designing is for mapping between front end and back end values. Now I will use an … | |
I want to use two jQuery popups on one page. The problem is that i can't get it to work.[CODE]<div id="popupContact2" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title popup</h1> <p id="contactArea"> sutff goes here </p> </div> <div id="popupContact" class="popupContact"> <a class="popupContactClose">x</a> <h1>Title of our cool popup, yay!</h1> <p id="contactArea"> sutff goes here </p> … | |
Hi! Sorry for my bad english! I made an editor. When user passes mouse over the picture, the picture changes color ( Here's code: [CODE] <style> .button:hover{ filter:alpha(opacity=20); opacity=0.2; } .field{ background:#aabbcc; border:1px solid black; } </style> <fieldset class=field> <img src=blablabla.bmp class=button> </fieldset> [/CODE]) I want to make that, when … | |
I have select list which submits the page and the page is then re-rendered with various fields hidden depending on the value of the select list. There is a button at the top of the page which is causing problems if it is pressed before the page is fully rendered. … | |
Hello Friends, I am Rakesh, iam facing a problem regarding HTML in PHP page iam pasting the link of error can any one please tell the solution. [URL="http://screencast.com/t/yrFqDdsf"]http://screencast.com/t/yrFqDdsf[/URL] iam unable to understand why its comming so please tell the solution Thanks in Advance | |
Hey guys, I have a bit of a problem with implementing an ajax based contact form. I am sure I forgot something...does this almost look right? What do you think the problem is, the form still submits but the page refreshes instead of just sliding the form up and fading … | |
Hi. I'm trying to create a custom meta box on Wordpress with multiple text fields. The idea is that there is initially one text box, then you can click the button 'Add New' and a another text box is added. This needs to be via Ajax; using Javascript doesn't physically … | |
When i try to dynamically change the height of an iframe in ie through a java-script to match its content (a html page containing a flash movie), it doesn't resize the iframe at first, but when i reload the same page into the iFrame it resizes as planned, how come? … | |
Hello, I'd like to know how to make a div height maximum f.e. 200px. If the height goes above 200px it should come some text saying "View more" or something and then it expands. This I need because I have a page where I will post posts and if the … | |
[CODE]<script language="javascript" type="text/jscript"> function showhide(layer_ref) { obj = document.getElementById(layer_ref); if (obj.style.display == "none") { obj.style.display = ""; } else { obj.style.display = "none"; } } function changepic_menu(arrow) { obj = document.getElementById(arrow); if (obj.src.indexOf("arrow_up.jpg") > 0) { obj.src = "../image/arrow_down.jpg"; } else { obj.src = "../image/arrow_up.jpg"; } } </script>[/CODE] this code … | |
Ok so here is a good one. "Must display an image and three buttons. The buttons should be labeled 1, 2,3 and when pressed each button should changed the content of the image to that of a different image. This is due before MIdnight, and I have tried everycode I … | |
Hi, I was wondering if it is possible to create thumbnails automaticly from images when they are uploaded to the server?I would need a seperate file for the thumbnails... Does anybody have any clue of this?I was thinking in the direction of jquery but i dont know for sure :) … | |
Hi! Sorry for my bad english! I want to make HTML editor (editor with tags, like this on daniweb) with tables. Here's the problem: If user writes [TABLE], I made that this replace with <table>. If the user write, eg. [TABLE:BORDER=1;WIDTH:300;], it will change this to <table border=1 width=300> Here's … | |
please can anyone tell me why this script doesnt seem to work.thankz [CODE]<script> function calculate (){ var age = document.getElementById('age'); var amt = document.getElementById('amount'); var plan = document.getElementById('plan'); var ben1 = document.getElementById('benefit1'); var ben2 = document.getElementById('benefit2'); var yrs = document.getElementById('length'); var ap = (amt.value/yrs.value)+Math.pow((100*Math.sqrt(age.value/(55*yrs.value))),2); document.write('annual premium'+ap); } function checkplan(){ var … |
The End.