15,120 Topics

Member Avatar for
Member Avatar for RGStrat

Hello, I have 2 different websites/domains on 1 IP. The problem is that whenever stuff is uploaded, it displays in both sites. Example: site_1.com/page.php = site_2.com/page.php I created a directory for each site. Example: site_1.com/site_1 and site_2.com/site_2 . I want to create a script that resides as the index of …

Member Avatar for RGStrat
0
133
Member Avatar for hamjad

Hi, I am trying following code to update the onClick event of an html button sitting in my asp.net page. VB.NET code Page.RegisterStartupScript("AutoFillScript", _ "<script language=javascript> function test(){ document.getElementById('printPage').onclick = ""PrintHtml('http:// someURL.html')"";}") btnSubmit.Attributes.Add("onClick", "test()") I want that when someone click submit button URL "http:// someURL.html" be assigned to html button …

Member Avatar for MidiMagic
0
63
Member Avatar for sidmaniac

hi i am trying to implement the delete and back space using javascript,the problem i am facing is whenever i hit the delete button it starts deleting from the end instead of the current cursor position and continues like backspace after that till the end. the code for delete is …

Member Avatar for MidiMagic
0
145
Member Avatar for Lucrezia

Hello all! I am using some javascript code to change some classes of an external stylesheet on the fly. Is there any way (a variable perhaps?) to access the changed stylesheet so that I store it afterwards with php, or should I rebuild it again (according to the options of …

Member Avatar for MidiMagic
0
137
Member Avatar for world_weapon

Brief overview, have three functions that return boolean for the zip code and email format and another to check if two fields are not empty and contain the same value. The wrapper functions I made that use another function to write to a div.innerHTML work fine. The function I made …

Member Avatar for MidiMagic
0
156
Member Avatar for pataya

I want my clients to be able to pick colors for buttons,table borders, table headers ect... This way they can get an idea of what the site will look like before it's built. I'm looking for something intuitive like this: [url]http://www.pagetutor.com/colorpicker/index.html[/url] Any ideas how I can get this done? I've …

Member Avatar for ExplainThat
0
80
Member Avatar for Inny

Need help to set up a few files. I want to use a php script to detect server status, and javascript to automatically redirect to a server status page [on another server obviously] (only if the server is down) immediately rather than get a 404 error. I have a php …

Member Avatar for somedude3488
0
351
Member Avatar for sportymon1

Hi I use Windows XP SP2 and both IE6 and Firefox will not open javascript links. If I click on the link nothing happens. On one site its javascript.popwin(...) and I click on it but again nothing happens. I've tried disabling pop-up blockers, installing latest version of MS scripting, updating …

0
44
Member Avatar for gj6kings

I am working on an image map rollover...its basically done..but it isn't working in Firefox and I have an error in IE7, however it is still working in I.E.7...was wondering if somebody could take a look and see some glaring error that I am making in my code...It's a fairly …

Member Avatar for gj6kings
0
81
Member Avatar for enggars

Im using classic ASP, and adding the AJAX's username availability check into it. The combination's works very well. And im wondering how to build a pop up control box in an Online Exam. The pop up can show which numbers that hasn't been answered yet. Many thanks for the helps. …

Member Avatar for yildosh
0
104
Member Avatar for cynthiamarc

I was wondering if there was anyway of combining a thumbnail viewer in which the images swap on click and then being able to drag and drop the enlarged images to build a dress up doll sort of. I prefer to use the thumbnail viewer in order to save space …

0
54
Member Avatar for darkie_99

Hi My skill for javascript is very poor. But, I had a task to do for the project I am currenlty doing. I first searched you site, and saw some people asking about something similar to what I have. But, I didnt know understand the answers posted since Im not …

Member Avatar for darkie_99
0
295
Member Avatar for mairaj

how i m putting java script in my blog which is in xml ,my java script code is like <script type="text/javascript"> </script> <script language=JavaScript> --------------- ------------------- some code ------------------- </script> in between which tag i m puting this code my blog is in blooger.com and the code is for mouse …

Member Avatar for ~s.o.s~
0
208
Member Avatar for thescriptuser

Hi, i create an ocx control in vb.6, it's working well but having some problems. when i create [B]ActiveXObject("Control.UserControl1")[/B] through javascript of my control in .aspx page the error occurs '[B]Automation Server can't create object.[/B]'. if i call this control and create object in simple html page which placed at …

Member Avatar for MidiMagic
0
82
Member Avatar for ttamilvanan81

Hai everyone, i am doing one Image gallary application. In that application i have upload two images, one for Befor image and another one for after image. All those images are stored into the filesystem, the images names only stored into the database. Left side of page: Before Pictures (One …

0
84
Member Avatar for roy--

Dear all, I would like to implement a simple date picker for my hotel booking website. (No calender required) Minimum date would be tomorrow's. and maximum would be after 360 days. The user would have to select the arrival day, month and year each on seperate <select> and then select …

Member Avatar for zmariow
0
99
Member Avatar for disto

Can anyone pls help figure out where i am going wrong with the following code: [function printPDF(){ popWin = window.open('subsoffer.pdf','popUp','top=0,left=0,height=700,width=1000, resizable=yes, scrollbars=0, menubar=0'); popWin.focus(); setTimeout("popWin.print();",5000); }] This function `printPDF()` is invoked when through the onclick event applyed to `<td>`. So far a PDF is opened as a popup and a …

Member Avatar for MidiMagic
0
81
Member Avatar for roy--

Hello, I am trying to implement two cascading <select> boxes. the second box's options would be fetched from a mysql db via a PHP script. it works fine on IE. Problems rise when it comes to Firefox, the form would not submit the value from the second <select> box. I …

Member Avatar for HazardTW
0
239
Member Avatar for saurav

Hi All, I have not got much expousre into JS.I have been trying to work Ajax with Java through DWR. I have a code like this <%@ taglib uri="/tags/spring-form" prefix="form" %> <body> <h6> Saurav </h6> <br> <h3>Aquofusion Testing</h3> <form:form commandName="contact"> <table> <tr> <td>Hey Saurav</td> <td><form:input path="firstName"/></td> </tr> <tr> <td><form:input path="lastName"/></td> …

Member Avatar for alpha_foobar
0
141
Member Avatar for bdichiara

I am having the hardest time trying to write a condition for scrolling in an AJAX chat app i'm writing. After the AJAX request that updates the log, i'm using [CODE]objDiv.scrollTop = objDiv.scrollHeight;[/CODE] I was trying to write a condition so if the user decides to scroll up to read …

Member Avatar for bdichiara
0
61
Member Avatar for Duki

I'm looking for a powerful tool to study that will benefit me in the creation of a company intranet. Any suggestions?

Member Avatar for alpha_foobar
0
93
Member Avatar for schwarznavy

Greetings from Japan. I'd like to display a few RSS feeds from other web sites on my web site in a tabbed box, where each tab signifies a feed from each of those sites. I'm trying to keep the Web site as simple as possible to make our site as …

Member Avatar for MattEvans
0
102
Member Avatar for Pro2000

I saw a chat prog on the Internet The web page shows the messages quickly without reloading the web-page... Can anybody do that or teach me how to do that?

Member Avatar for alpha_foobar
0
188
Member Avatar for Ventrix

Hello, I have a link that carrys out a DHTML function within my page, and once this link is clicked, i use the following js to change the text of the link. In an external js file [code]function exp(obj) { var el = document.getElementById(obj); el.innerHTML = 'This text has changed!'; …

Member Avatar for alpha_foobar
0
152
Member Avatar for NuGG

I have obtained the following script which only lets a page load if the visitor has been to the previous page, if they haven’t it sends the visitor to the appropriate page. However, it only works in Mozilla. Can anyone help me adapt this script to work in Internet Explorer? …

Member Avatar for HazardTW
0
279
Member Avatar for vinaii
Member Avatar for edmicman

I'm using classic ASP here, and trying to do some Javascript validation. In my form, I'm dynamically creating checkbox groups - each group has a common Name, and each checkbox has a unique ID. Before the form submits (in the onclick on the submit button) I want to check and …

Member Avatar for ~s.o.s~
0
86
Member Avatar for BalagurunathanS

Dear Friends.. I have my ASP .Net project which is done in Ajax .I use AJAX dll in this to avoid post backs.. The thing is, my application runs well in Internet explorer but it doesn't work well in browsers such as Mozilla,safari etc..I use javascript functions in my aspx …

Member Avatar for ~s.o.s~
0
69
Member Avatar for bg370

I've been doing PHP for a while and am starting up on Javascript. Here is what I'd like to do: I need to set up a series of dropdowns. I'd like the first one to be the only one in existence at first. Then, depending on what is selected, I'd …

Member Avatar for ~s.o.s~
0
48
Member Avatar for The_Restore_Lab

I am trying to design an HTML form that has table rows that are dynamically created in PHP, however i need to hide these rows until the user makes a selection. I am totally new to javascript and have only been coding in PHP for a few months now. Please …

Member Avatar for hollystyles
0
604

The End.