17,114 Topics

Member Avatar for
Member Avatar for stevemail

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 …

Member Avatar for Taywin
0
56
Member Avatar for ptemedia

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 …

Member Avatar for Airshow
0
211
Member Avatar for vimax

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;}

Member Avatar for Taywin
0
231
Member Avatar for djcrab

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"; …

Member Avatar for Taywin
0
155
Member Avatar for gchurch

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 …

Member Avatar for fornandakishore
0
319
Member Avatar for mushget

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 . …

Member Avatar for Taywin
0
90
Member Avatar for gidireich

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 …

Member Avatar for pritaeas
0
58
Member Avatar for MartinRinehart

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 …

Member Avatar for Taywin
0
276
Member Avatar for blanco_curious

How can i create a slideshow like the below. [url]http://s2sphotography.com/[/url]

Member Avatar for Luckychap
0
44
Member Avatar for gtr1971

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 …

Member Avatar for gtr1971
0
12K
Member Avatar for eswar.aspire

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 …

0
75
Member Avatar for daneuchar

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'); } …

0
86
Member Avatar for phughesphoto

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 …

Member Avatar for Graphix
0
120
Member Avatar for PeterWaij

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 …

Member Avatar for PeterWaij
0
62
Member Avatar for buggyboy

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 …

Member Avatar for diafol
0
86
Member Avatar for muloki

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

Member Avatar for MartinRinehart
0
66
Member Avatar for shadiadiph

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 …

Member Avatar for shadiadiph
0
107
Member Avatar for sundeep_g

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); .............................................................. …

Member Avatar for Airshow
0
284
Member Avatar for genki01

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"; …

Member Avatar for genki01
0
555
Member Avatar for idlackage

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 …

Member Avatar for Taywin
0
115
Member Avatar for kedar9

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 …

Member Avatar for Taywin
0
220
Member Avatar for aadithps

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 …

Member Avatar for Taywin
0
57
Member Avatar for puk

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 …

Member Avatar for Taywin
0
84
Member Avatar for FatherLen

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 …

Member Avatar for Taywin
0
402
Member Avatar for djcrab

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 …

Member Avatar for Taywin
0
102
Member Avatar for SKANK!!!!!

[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 …

Member Avatar for lifeh2o
0
172
Member Avatar for akvlko

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 …

Member Avatar for hongle
0
190
Member Avatar for eswar.aspire

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 …

0
93
Member Avatar for eswar.aspire

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 …

Member Avatar for Airshow
0
149
Member Avatar for yopirates

Hi guys i am using jquery week calendar in my project . The problem i am facing is that if i try to add more users the width of time slot is being reduced .I need a horizontal scroll bar instead of width getting reduced. I have uploaded my file …

0
71
Member Avatar for star_lavender

Hi. I have a calculate.js javascript file where all the function that execute the calculation is consist in this file. Now, I want to retrieve a data from the database for javascript calculation and be done in this calculate.js file. I have search a lot of methods to do this …

Member Avatar for star_lavender
0
145
Member Avatar for benhowdle89

hi i'm using this, its working great, but if someone has a hyperlink in their status it doesnt pull it across - is there anything someone can think of? Thanks [CODE] $(document).ready(function(){ var username='xxxxxxxx'; // set user name var format='json'; // set format, you really don't have an option on …

0
90
Member Avatar for yopirates

Hi guys i am using jquery week calendar in my project . The problem i am facing is that if i try to add more users the width of time slot is being reduced .I need a horizontal scroll bar instead of width getting reduced. I have uploaded my file …

0
87
Member Avatar for jermaghs07

hey guys. i am very new to programing and was wondering if anyone else had seen this little trick. this is a little java code to get a saved password prom a website. javascript:alert(document.forms[0].elements[1].value) the forms and values change from site to site but this code works for this site. …

Member Avatar for mijaja
0
3K
Member Avatar for webdev2111

Can anyone help me on how I can create a simple javscript music player, that will play the music randomly or sequentially. Which will have the play and pause button only. and on hover over the play or pause button, it will display the music name and download link option. …

Member Avatar for Airshow
0
83
Member Avatar for ejr74

[code] <script type="text/javascript" src="prototype.js"></script> <script language="javascript"> function hover() { new Ajax.Updater('dataLayer', 'ajax_hover1.html', { method: 'get', evalScripts: true, onComplete: function(){ document.getElementById('dataLayer').style.display='inline'; } }); } </script> <a href="#" onclick="hover()">show</a> <div id="dataLayer" style="display:none; position:absolute;"></div> [/code] ajax_hover1.html contains [code] <script language="javascript" type="text/javascript"> document.write("testing"); </script> [/code] When i execute, new window is opening. Please help …

Member Avatar for guillem_bcn
0
142
Member Avatar for ivan3510

Hi! Sorry for my bad english! How to make a button (source code) that when someone clicks on it, it shows the source code of that what is written. (On some buttons I put the image (<input type="image" src="image.bmp" onclick="urediFont('justifyleft');">) (alignment:left, center, right). But when I click on them everthing …

Member Avatar for ivan3510
0
183
Member Avatar for MartinRinehart

MSIE 8 textareas: textarea.value == textarea.innerHTML == textarea.innerText Opera: textarea.value == textarea.innerText; textarea.innerHTML == undefined Firefox, Safari and Chrome: value only

Member Avatar for MartinRinehart
0
109
Member Avatar for UncleJoe

I hope this hasn't been beaten to death...I looked through the forums and didn't find what I needed. I have a form where an input (textbox) Change event populates several other inputs within the form via ajax...everything works famously when I comment out the Form::open('edit_product'), Form::button('submit', 'Save Product'),and Form::close() in …

Member Avatar for UncleJoe
0
215
Member Avatar for cowboyonamac

New here, and still pretty new to javascript. I have a page that I'm trying to run a number of different javascripts on. [LIST] [*]jquery-1.2.2.pack.js [*]overlapviewer.js [*]prototype.js [*]scriptaculous.js [*]lightbox.js and [*]vnu_datestamp.js [/LIST] I have no problem with the datestamp. It runs pretty well anywhere because it's a link/rel to the …

Member Avatar for maysoon
0
221
Member Avatar for benhowdle89

i have this jquery code: [CODE] $(document).ready(function(){ //Hide the tooglebox when page load $(".visit").hide(); $("#suppliers-table td").hover(function(){ $(".visit").show(); }); }); [/CODE] for this html: [CODE] <table id="suppliers-table"> <tr> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" href="#">Visit Website</a></td> <td><p class="suppliers-name">ASD</p><a class="visit" …

Member Avatar for benhowdle89
0
81
Member Avatar for chalasesha

i am developing a social networking site as my project in college. i have a doubt on php and mysql.. """ I TWITTER OR FACEBOOK OR IN GMAIL WHEN THERE IS NO ACTION FROM USER(BROWSER) THAT IS, THE USER LOGS IN AND STAY STILL(NOT RELOADING THE PAGE). HOW CAN WE …

Member Avatar for chalasesha
0
146
Member Avatar for mimsc

any suggestions? <%@ page language="java" %> <%@ page import="trader.webservices.data.LeadDAO" %> <%@ page import="trader.aabacrm.LeadsList" %> <%@ page import="trader.webservices.data.*" %> <%@ page import="trader.webservices.presentation.Lead" %> <%@ page import="trader.webservices.data.UserInfoDAO" %> <%@ page import="trader.webservices.data.UserDataVO" %> <%@ page import="trader.webservices.data.ButtonDAO" %> <%@ page import="trader.webservices.constants.UserConstants" %> <%@ page import="trader.webservices.util.Utils" %> <%@ page import="java.math.*" %> <% RequestDispatcher dispatcher = …

Member Avatar for masijade
0
2K
Member Avatar for chineerat

Hi! I am trying to store multiple text values into an array when a check box is checked. for example when row1 checkbox is checked the values row1col1 and row1col2 are stored in an array. note however row1col1 and row1col2 are editable and not readonly. for example: [CODE] <table border="1"> …

Member Avatar for Airshow
0
160
Member Avatar for rahul88bbd
Member Avatar for MartinRinehart
0
98
Member Avatar for eswar.aspire

Hello, I am wondering to implement this logic. Any suggestion or help 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 navigation menu the corresponding web page loaded. In one …

Member Avatar for eswar.aspire
0
641
Member Avatar for himmat.m4

Hi, I am wandering problem in I want to access javascript variable in jsp page. So anybody help me how to use that variable in jsp. Thanks in advance.

Member Avatar for scrappedcola
0
51
Member Avatar for shahramjaved

Two users are connected with a server if user A move his mouse on his browser window than the shape on user B browser Window should be move. Any idea how i can do this.

Member Avatar for scrappedcola
0
157
Member Avatar for programercek

In the first form Default.aspx I have TextBox1 control. How do I get data from TextBox1 into another form Default2.aspx? Is there any example on the Internet? I have tried in this direction, but not a solution: $ (Function () { $ ('# Btn'). Click (function () { $. Ajax …

0
57
Member Avatar for himmat.m4

Hi, I am ajax in following concept. In jsp page have 2 div. first div contaion one dropdownlist for selection city onChange event send data to servlet and other div contain another dropdownlist for displaying cities which are come from servlet. Here problem is after selecting city through 1st dropdownlist …

Member Avatar for Airshow
0
164

The End.