17,114 Topics
![]() | |
I need to extract links from a given page to be displayed in a new window, however, the particular page im wanting to extract links from, I dont have direct access to that pages html. this below code extracts all links on any page its on..... [code] <script language="JavaScript1.2"> <!-- … | |
Hello there in my html page i use the following link <LINK href=c:\"Calendar.css" type=text/css rel=stylesheet> i would like to avoid rediracting to the file css ,so my question where i should put all the information in my htmal page after? the <body> ?before the <body>? which tag to use? Thanks … | |
why this script is not running on my php files but its running on other computers. <script type="text/javascript">window.opener.location.reload(); </script>"; thanks in advance. - tagz017 | |
Hi, I have a drop down when a user selects a number from the drop down he sees those many textboxes with first name and last name so if he selects 2 in the drop down then he sees 2 textboxes for first name and 2 textboxes for last name … | |
wondering how this script might work please. [code]<link rel="alternate" type="application/rss+xml" title="CHUCK WHATEVER YOU WANT IN HERE" href="http://thecodingzone.com/if_rss.php?input=YOUR BOARD URL&title=FEED TITLE HERE REMEMBERING THE FACT YOU HAVE TO ENCODE SPACES IN URLS" />[/code] the rss.php part [code] - <rss version="0.91"> - <channel> <title>Feed generated by TCZ</title> <link>http://thecodingzone.com/</link> <description>Nearly 400 IF codes … | |
Why in jsp the scripts shows error on [code] document.forms[0].[fieldname].length [/code] throws object required error with IE if we written the script above the <form>. But this error will not come if the script is written below the form. anybody know why this error happening? Thanks in advance.. | |
I have a page on which I want users to be able to create web objects on the same page with the push of a button. For example, to create a new draggable textfield object, a user would click on this button: [code] <form action="#"> <input type="button" name="btn" id="btn" value="Make … | |
I have retrieved a value from a query and need to put it into the Label called "lblViews". Every way I try, it says there is no instance for this object. How do I write/set the text of the label to the query I retrieved in the Page_Load method? Thanks. … | |
I'm trying to send attachments through E-mail using the following command, echo " Refer to the attachments." > textfile | (uuencode $file1 outputfile1.txt; uuencode $file2 outputfile2.txt;) |cat textfile - | sendmail -F "Fromaddress" ${XXXX} Now can anyone tell me how to display [B]subject[/B] to this E-mail. my browser doesn't support … | |
thought that would get some attention. need solution to script found here [url]http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml[/url] image pops up on right and left. just need it to show in right. no more flip flopping left to right. someone smart should be able to do this in 30 seconds or less. challenge? thanks in … | |
I am new to Ajax, as a matter of fact I know nothing about ajax. I was wondering if there was a way to auto refresh a page, after a certain time length. Sort of like what those fantasy football pages do. Where it refreshes but the user never notices. … | |
im trying to build a rss feed that will work with my software. php code [code] <?php $t = 15; $nt = 15000; $filename3 = "xrssdone.txt"; $content3 = file("xrssdone.txt"); $done = explode("|",$content3[0]); $num = explode("showtopic=",$_GET["newlink"]); $nummin = explode("&",$num[1]); echo $nummin[0]; for ($i=0; $i<$nt; $i++) { if ($nummin[0] == $done[$i]) { … | |
Hi, I have 2 frames Topmenu bottommenu in topmenu i have a drop down when the drop down value is selected i want to refresh the bottom frame and pass the gender of the student So here is my code this code refreshes the bottom frame [CODE] function transval() { … | |
I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(username, name, duid) { top.main.location.href="../TrackApp/main.aspx?selectedTab=" + selectedTab + "&deviceName=" + name + "&deviceUID=" + duid; } … | |
I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(name, duid) { var username = document.getElementById('txtUsername'); top.main.location.href="../TrackApp/main.aspx?selectedTab=1&deviceName=" + name + "&deviceUID=" + duid + "&username=" … | |
hi, I have two php file: 1. list.php 2. delete.php On the list.php, there is a link word delete which refer to the delete.php and also send the id of the current record to the delete.php. On the delete.php I have the following code: [CODE] <body> <?php //must ask for … | |
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 … | |
Hi, When you look at the following code it shows up fine in IE and FireFox as a list of images placed next to each other. But when I open it in Word it puts each image on a new line. How can this be fixed. Thanks <!DOCTYPE html PUBLIC … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
ASP electronic exam project, problem when update data base hellow every one........ i have problem with my exam project i program it in asp , and i have javascript function and this function should return the value of raduo button checked and i then use this value in ASP code … | |
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 … | |
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. … | |
I have a site that I host for a client that is having problems with the apostrophes in the text it draws from the database. Here is a [URL="http://askpriscilla.com/pages/ask_news.php"]link[/URL] to the live site that is having the issue. I think it has to do with the addslashes php function but … | |
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 … | |
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 … | |
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 … | |
hellow i have problem with my exam project i program it in asp , and i have javascript function and this function should return the value of raduo button checked and i then use this value in ASP code the problem is that function return null or undifined i try … | |
Howdy. I just joined. At 53, I'll bet I'm near the right end of the age curve. I've been playing with computers since I first purchased an Apple II+ decades ago. Currently, I'm running Ubuntu Linux, and prefer it to Windows for a multitude of reasons. For the past 6+ … | |
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 … | |
Hi Friends, I'm having a kind of anoying problem, I have a ObjectDataSource with a Select with parameters, one of them receives its value from a DropDownList and the others from textboxes, this dropdownlist parameter seem to not working, and the textboxes are working fine... The gridview just dont show … | |
good day,does anyone know how to play .flv files using php?It can play using javascript and I was wondering if I can code that too using php and with database involved?thanks.. | |
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 … | |
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 … | |
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 … | |
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 … | |
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> … | |
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 … | |
I'm looking for a powerful tool to study that will benefit me in the creation of a company intranet. Any suggestions? | |
![]() | 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 … |
I have a php email form that is giving me greif. It is sending blank messages. Could anyone take a look at the code and help. It would be greatly appreciated. contact.php [code] <script LANGUAGE="JavaScript"> function Validate(form) { if (form.name.value == "") { alert("Please insert your name"); form.name.focus(); return; } … | |
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? | |
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!'; … | |
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? … | |
how can we call a serverside code using javascript[B][/B] |
The End.