15,121 Topics
| |
Hi I made a browser game with php and a little bit of java script, the ask a random question, then i dynamically load answers as image links, which the participant should select the correct one, if it is then he will go to the link the image href points … | |
1) Create 3 gloabal variables named timeID, marqueeTxt, & marqueeOff. Set marqueeOff variable to true. 2) Have the browser run the defineMarquee() function when the page loads. 3) Create the defineMarquee() function. a) Populate the contents of the marqueeTxt array with all the elements from the document that belong to … | |
hey i am using embed tag for video. now i want to change my embed src dynamically so i am using javascript but it does not work. here is my code: javascript-: [CODE] function playvideo() { document.getElementById("play").innerHTML='<embed id="id" src="./video/1.wmv" />'; } [/CODE] aspx-: [CODE] <asp:Button ID="Button1" runat="server" Text="Button" OnClientClick="playvideo();" /> … | |
I'm totally new to javascript and fairly new to php... so... I have a javascript login form that takes a users email and password, validates through a mysql database and gains entry to a folder that is protected by a htaccess file. This is set up to integrate with a … | |
[code] <script type="text/javascript"> function confirmation() { alert( "Please Confirm Before Proceeding !" + "\n\n" + "Display Name: " + document.forms["paypal"]["os0"].value + "\n" + "Donation Amount: $" + document.forms["paypal"]["amount"].value + "\n\n" + "Click Ok to Proceed or Cancel to Make Changes." ) } </script>[/code] Ok, here's what I would like done … | |
Hello, The problem I am having is when the following script is executed within my page and the user submits the form, the variables passed to the GET array are duplicated only for the inputs created by my script. I have other inputs in the form that are created within … | |
Hey everyone.. I am relatively new to PHP and JS and I need help. I need to populate a dropdown list from a db(mysql). I can do it just with PHP. The problem arises when I add another of the same dropdown to my form using javascript. I need the … | |
good day! i know theres a way to kill a process in task manager using vbscript. but i've tested all of the codes i've seen upon googling it, still no luck. how can i do it right? sorry if i post this to javascript forum becos there's no vbscript forum … | |
Hey everyone. Need some assistance again please. Here is what my assignment says word for word: The sum of the lengths of any two sides of a triangle must be greater than the length of the third side. For example, the numbers 3, 4, & 5 can form a triangle … | |
Can anyone tell me why I am getting an undefined error, and what I can do to fix it? I appreciate your help. [CODE]<script> window.onload=myday; function myday(){ var day=new Array("sunday","monday","tuesday","wednesday","thursday","friday","saturday"); var d=new Date(); theDay=d.getDay(); for (i=0;i<=day.length;i++) { if (i!=theDay) { document.write("today is not " + day[i]); document.write("<br />");} else { … | |
This is my second to last assignment and then I'm done! Ok, below is the code for a simple "purchase form". I'm a bit stuck so here are my problems. 1. When I click "Purchase" and then "OK" on the dialog box, if a field is empty it will let … | |
Hi there, I'm trying to make a product page that updates the price dependant on selections the user makes. I followed the advice on [url]http://www.daniweb.com/forums/thread277121.html[/url], and it works absolutely great. My problem is though that I also have another radio button and one more drop down that i need to … | |
Hi, I have a question regarding Jquery :). I'm just a beginner and I don't know much that's why I need your help. I have a main menu that is drop down menu with images. But that other list must be separated. Why? Cause I'm working with Kentico CMS (ASP.NET) … | |
Hello. I have a form in my website that I want to hide at page load. But after the page load, there remains empty space. The form is inside the table. So, I tried resizing table with following code. But its not working. [CODE] <script type="text/javascript"> function HideForm() { document.getElementById('emf-form').style.visibility='hidden'; … | |
Hi Friends Please check this link in IE8: <a href="http://www.freej.ae/freejaetest/ar/FreejEpisodes.aspx">http://www.freej.ae/freejaetest/ar/FreejEpisodes.aspx</a>. If you select first link below page title from right in the above link, You will see a jcarousel in the bottom which is not displaying correctly...But when I see it on my local machine its showing up correctly but … | |
Hi, I have an objectdatasource showing lots of details for a particular product. In the table of products, there is an extra field which is either 'yes' or 'no' Is there a way in the cs code or javascript to make an image visible="true" if the value is 'yes' thanks | |
Hi to all, I have the following problem: 1. I have a page where I insert flash objects dynamically. 2. Every flash receive a id and name dynamically 3. I need to insert JavaScript handlers for the flash. [B][U]The following code is working just fine:[/U][/B] [CODE] <SCRIPT> function swfObject_DoFSCommand() { … | |
Hi..Friends.................. Is there any way to retrieve cookies and sessions into client-side programming like HTML using javascript..,vbscript..etc.. If u know .plz..reply this... | |
hi all, I want to call a class function using beans inside java script. but it is not working. It calls that function only 1 time. [code] <jsp:useBean id="track" scope="session" class="ReturnProgress"></jsp:useBean> <script type="text/javascript"> function getProgress() { document.getElementById('progress').innerHTML = '<%=track.findProgress()%>'; } </script> [/code] I want that Whenever user clicks on button … | |
I'm beginning to think that I don't have the eyes for this. Chrome's JS console is telling me that on line 28 "setCookie is not defined". What does this mean? I've looked at the function portion and it looked the same as my book but I have missed punctuation/spelling before. … | |
Hi guys. The thing is that I have some experience with other programing languishes like Java and C#. I recently got into php and java script. The questions is when wold you prefer to use java script functions over php. For example say the random function. I'm aware of the … | |
| Hi, I'm trying to write a script where I can click an image to hide a table, then hide the table and change the image. Then if I click the image again, it should show the table and change the image to the initial image. Below is the code I … |
Dear All, I am currently working on an assignment. And I wanted to implement a bit ajax in it. I've got my html page, and on an onclick event the ajax code is going to populate a table and place it in my html page. The php file is working … | |
Hi.. I am designing a tabless web page.The page contains 2 div sections.One is for menus and other is to display the contents of the page by clicking the menus.I don't want to use frames and iframes.Is it possible to do it using the div tag? The code I had … | |
Hello again. I have an assignment that involves inputting the firstName, lastName and score of a student with the values being added to a textbox for display. The problem is the last part of the assignment involves getting the last names sorted alphabetically which involves the use of an array. … | |
Hi to all, I want to know how to send data to MS-Excel sheet from HTML form with javascript. It should be done in javascript not java. Thanks | |
how to creating video lecture application???any idea please :'( | |
Hi, I want to know if we can use javascript for file encryption (not text). If yes then how? Any help appreciated. | |
I have taught myself the basics of PHP (with the help of this awesome forum) I have all the basic (most common stuff on the web) stuff down fairly well. Now I am trying to figure out the best thing to learn next for web design and development. I was … | |
Hi, i have two input box input box 1 : name is first input box 2 : name is second suppose if i enter "fresh" should be transliterated using google and the output in french should be displayed in the second input box. does anyone have any idea how to … |
The End.