15,688 Topics
![]() | |
I have built what I think is a nice contact form. I want to add a cookie to this form so that if a visitor has already completed this form, the browesr recognizes the user and sends them to a page that states they have already filled out this form. … | |
Hi, I would an script to give a free PDF as a gift: 1. get an email on a box on my website (like the newsletter subscriptions) 2. send an email to subscriber, with a confirmation url 3. after confirmation, the user will receive a new email, getting a PDF … | |
Hi. I am making an asp website to sell items. On the details for individual products page I have an image and 3 smaller ones beneath. Clicking on one of them will bring up a larger image on the screen. However, at the moment, I have to have 4 images … | |
Hey. I am new to webprogramming..so sorry if this question sounds stupid. I use the function setTimeout() and document.all[id].style...etc to take the value I need error: Matched Pattern: "/\bsetTimeout\s*\(/" else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;} my code is: function customizeWebRank(){var parent_window=null;if(opener&&opener.location.href.indexOf("extensions.xul")!=-1){if(opener.opener&&(opener.opener.location.href.indexOf("browser.xul")!=-1)){parent_window=opener.opener;} else{var window_service=Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);parent_window=window_service.getMostRecentWindow("navigator:browser");}} else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;} | |
Here is what I've wrote for an assignment..I would simply like to add a space between the song name and year and enclose the year in parentheses. Thanks yet again. Jake [CODE]<script type="text/javascript"> <!-- HIDE FROM INCOMPATIBLE BROWSERS var favSongs = new Array(19); favSongs[0] = "Falls Apart"; favSongs[1] = "Monster"; … | |
hey all i need to check to see if my check box is checked, here is my code... [CODE]echo "<form id='form1' name='form1' method='post' action='".$href."' onsubmit='[COLOR="Red"]return checked_room()[/COLOR]'>"; while($row = mysql_fetch_assoc($res)) { $roomName = $row['RoomName']; if(!in_array($roomName,$taken_array)){ echo "<div id='RoomBorder'>"; echo "<table width='100%'><tr><th colspan='2'>". $row['RoomName'] ."</th></tr>"; echo "<tr><td colspan='2' align='left'>".$row['RoomDescription']."</td></tr>"; echo "<tr><td><b>Max Guests … | |
i want to create a form containing : 1. drop down list of countries (that i managed to create) 2. action on selection (redirect to a link on country selection) 3. post the selected option into a text box below and remeber (if possible) The remeber part is optional . … | |
Many times I encounter a site, and would like to know - how did they do this? Moreover, I'm looking at a the work of someone else in my project, and want to understand what exactly did he do? What are the parts of the page? Which scripting manipulations are … | |
I'm losing the content of a textarea in MSIE. (No problem in the other browsers.) Running short of ideas. I load .js files in this order: main, build, run. "main" does some bookkeeping. "build" creates the UI. "run" contains all the event handlers. At the last line of "run" it … | |
How can i create a slideshow like the below. [url]http://s2sphotography.com/[/url] | |
![]() | Hello all! I'm a newbie to Javascript and I have what seems to be a simple task that has stumped me. I have a parent/child scenario where the child is a pop-up "control panel" with hyperlinks that control the parent page. The idea is to click a link and it … ![]() |
hello, Any guide or suggestion to my problem.Thanks in advance.. I have an Iframe which load the flash Mp3player by mean of JavaScript using Swfobject. 1)But Its not loading properly by loading the XML to play the songs. 2)Also I have to send the Variable to flash to load the … | |
i want to use two different css for firefox and chrome but unable to do it.. :( please help !! the code i tried is given below !! [CODE] <script> function css_append(file){ var css = document.createElement('link') css.setAttribute("rel", "stylesheet"); css.setAttribute("type", "text/css"); css.setAttribute("href", file); document.getElementByTagName("head")[0].appendChild(css) } if(navigator.userAgent.indexOf("Firefox") > -1){ alert("Firefox"); css_append('css/default_ff.css'); } … | |
Hi there - newbie so if this has been answered elsewhere, pardon my new thread but I'm tired! :) Anyone who can tell me what is wrong with my code which is working fine in IE 8; here is the page link: [url]http://phughesphotography.com/chapman.htm[/url] Help is greatly appreciated! I'll check back … | |
I am very new to Java and have the following problem. I made a popup page with thumbnails. If a a image is selected the image is send to my main page. This i got working thanks to Aerospace. Now I want to create a form. In the first field … | |
Hello everyone, I have a database it has 4 columns: id, name, description, cure. I want to be able to type in the name of something into the search bar and for it to show the the result below using ajax/jquery. in php it would be like, select * where … ![]() | |
hi all trying to set up an online shop BUT.. cant get javascript to accept "£" so having to use "$" instead..not good for a uk site lol | |
How can I change the current text style at the current position of the cursor without chnaging the whole div id's font style? [code] document.getElementById('message').style.fontWeight='bold'; [/code] This changes all the previous text styling in the textarea i have been trying to find a way aboutit but can't seem to find … | |
Hi guys...im very happy to interact with you all...I have a problem with my code..i would like to call the javascript value into php.. can any one help me plz.... :- this is my function var cell3 = row.insertCell(2); var element2 = document.createElement("input"); element2.type = "text"; element2.name="name"+rowCount; element2.value="name"+rowCount; cell3.appendChild(element2); .............................................................. … | |
I found some code to open a link in a new window, and then change the current window to something new as well. This works fine in Firefox, but testing it in IE8 doesn't work. [CODE]<SCRIPT type="text/javascript"> function poptastic(url) { newwin=window.open(url,'name','top=0,left=0,resizable=1,scrollbars=1'); newwin.moveTo(0,0); newwin.resizeTo(newwin.screen.availWidth, newwin.screen.availHeight); if (window.focus) {newwin.focus()} window.location = "thankyou.php"; … | |
I have a Javascript function that dynamically creates a box with document.getElementById('lightbox').innerHTML. In the box will be, among other things, a div with id="div1" and visibility="hidden" and a form which, onSubmit, calls the function myFunction. The function basically looks like [CODE] myFunction() { document.getElementById('div1').style.visibility = 'visible'; }[/CODE] which has worked … | |
I searched the web a lot. But couldn't find a satisfactory solution. All I want to do is [B]to resize my background image say bg.jpg as per the visitor's screen resolution.[/B] On internet, I did find working javascripts but they used the [I]if (width= height= )[/I] thing. Please please provide … | |
if i have a excel file in c:/temp/f1.xlsx with some data like name age etc.....and if i want to copy some of the data from that file to another file in c://temp1/f2.xslx how do i do it..? also i want to add i more extra data to the copied file … | |
Hi, I want to do a redirect count so that the user can see the count going down. for example, I want them to be able to see the following. You will be redirected in 5 seconds. The user should be able to see the count going down from 5 … | |
i am trying to use mscomm in html and javascript to communicate with a device over the serial port but when i run a test of the activex object in a .hta file i get the error "Automation server can't create object". does anybody know why its doing this? it … | |
I'm a little lost on these questions of a quiz I just took...Any help is appreciated! 1st question: What is the value of returnValue in the following code segment? returnValue = 17 = = "17"; answer choices: True False 17 NaN *I chose True<--I think that's right, but I'm not … | |
[CODE]<script> function addText(event){ document.getElementById("insertid").value += (event.srcElement || event.target).firstChild.nodeValue.toString(); } </script> <textarea id="inserid"></textarea> <table onclick=addText(event)><tr><td>[bbcode][/bbcode]</td><td>[bbcode2][/bbcode2]</td></tr></table>[/CODE] problem is whe i click on the bbcode or bbcode2 it inserts it at the end of whatever is in the textarea. im looking to insert it into where the user clicks(where the carat is) like … | |
Hi Friends Currently I'm Developing a CMS in which I used JQuery for validation of form. In the State and City I have used Ajax to Fill the States after selecting the Country. All other validation are working fine but the validation I applied on the State field is not … | |
Hello, I have doubt on passing value from Java script to action script.I have flash player which load the songs from the XML and it was in Iframe parent window. When user login in child window iframe HTML_login page, the username from java script passes the value to flash and … | |
Hello, I am doing simple Jquery ajax post to php and I am very new to three languages. Any suggestion or guidance. I have two iframes 1. iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2. iframe 2 is load the web page. <iframe name=”page_load”/> When I click … |
The End.