20,316 Topics
I get an error (Object doesn't support this property or method) on 56. In Internet Explorer and I would like to try to keep it cross browser compatible. This is the source of the function: [CODE=javascript]SM.Util.prototype.constructor.Notify = function(txt) { chat = document.getElementById('chat'); //this is line 56 and chat is a …
Hello I've been trying to create a function that creates objects and another function that can delete them when triggered the objects code is generated server side and triggers the function passing the object data. The object data sort of looks like this [code] <OBJECT id="RandomNumbers" width="0" height="0" style="position:absolute; left:0;top:0;" …
hi.. im dynamicelly creating text box in a html file using javascript.. [CODE]<script> function create_input_boxes() { if(document.getElementById("name0")) { return true; } var boxes=""; var num_boxes=document.getElementById("num_boxes").value; if(num_boxes) { for(var i=0;i<num_boxes;i++) { boxes+="<input id='name"+i+"' name='name"+i+"' value=''><br />"; } document.getElementById("textbox_container").innerHTML=boxes; } return false; } </script> </head> <body> <form id="theForm" action="dynamic.php" method="post" onsubmit="return create_input_boxes();"> …
need to read and write to xls (excel sheet) using javascript read and write should be to specific cell in that sheet if its possible , please help do it thanx .
Ok Im am so very lost on what to do now, I have written the php code and would like to display the contents of what is being echoed through the url. Example is by entering mywebsite.com/index.php?dog=dogs it returns "a dog" mywebsite.com/index.php?dog=littledog returns "a little dog" What I would like …
I want to know the coding for ajax calendarextender control that displays 2 months calendar. Is this possible with Ajax calenderextender control? if it is, then please let me know the process.. Please anyone help me out in this.. Thanks in advance Vishalakshi
Please all, I am currently working on a web application which i must submit as soon as possible. I have a button and a text box. What i want is that if the textbox is empty, the button should be invisible. Immediately the user starts typing in the text the …
I need one more help DdoubleD.In my application I have applied functionality for searching various string(form text) which are the combination of characters and math symbols. Now for varoius symbols like squareroot, cuberoot , fraction, exponent, power,we cannot enter them directly from keyboard.So I have made form text in such …
Hi guys, i am facing a problem at Vb.net. There is i have a html editor created by myself. i also add a dlghelper but when i run at localhost, and click a button to show color dialog, java script runtime error occured and wrote "Microsoft JScript runtime error: 'dlgHelper' …
Hi, This code doesn't work in Firefox? Is there any other way of closing window? [code]<A href="javascript: self.close ()">Close this Window</A>[/code] Thanks
[CODE]javascript:history.go(-2)[/CODE] makes it go two pages back for links but how do u put it in the script tags just when the page loads go back 2 pages?
We are trying to ensure that information is seen even if javascript is disabled. So we would like to create something that opens a popup as normal however if javascript is disabled it opens a new tab or window with the information. But if javascript is enabled it just opens …
Hi , I am trying to create a webpage. It has 3 frames (left, middle and right). I want to be able to drag images from the left and the right frame into the middle frame. Each time i try to drag an image from one frame to another , …
Hi i have another query i would like to run by you. I have a javascript code which i would like to implement in my site but i have come across an error. The JS generates a new input text field once a button is clicked but i'm uncertain of …
Hi, I'm trying to split a string with multiple delimiters using the PHP preg_split function. I am trying to separate the numbers from the units in terms like 172px, 100%, 2.5ems etc... i.e. after I run a preg_split on 172px I want the resulting array to have array[0] = 172 …
I have this code: [SIZE="2"][CODE] txt4="<div style='margin-top:4px'>"; for (n=0;n<xy.length;n++) { txt4=txt4 + "<div>"; iconsb=xy[n].getElementsByTagName("SUBLINK"); iconsb2=xy[n].getElementsByTagName("SUBCLASS"); iconsb3=xy[n].getElementsByTagName("SUBCOPY"); subclass=xy[n].getElementsByTagName("SUBCLASS")[0].childNodes[0].textContent; subcopy=xy[n].getElementsByTagName("SUBCOPY")[0].childNodes[0].textContent; { try { if (subclass==="download_pod"||subclass==="download_arrow"||subclass==="video") { var down="<a id='" + subclass + "' style='float:right; display:inline-block; margin-left:1em' href='" + iconsb[0].childNodes[0].textContent + "' class='" + subclass + "'>" + subcopy + "</a>"} else if …
Here i draw the board for chess and put all pieces in there places on the board ... then i want when i pressed by mouse on the board give me the value of x , y . I tried with all things but i cann't solve this problem please …
A client would like me to implement spreadsheet-style form traversal using arrow keys, i.e. left arrow to submit entry and move left by one field on the form, and so on. Does anyone have a browser-independent method of doing this please? All input fields are single line text fields.
Can anyone please tell me how to turn on Java script,I have lost the ability to veiw photos or videos on my laptop Dell inspiron 630m. When I try to veiw anything it says that I need to download Flash player or I have to turn on Java script.
Hi, I'm no great shakes at Javascript... I do all my stuff through Dreamweaver. My situation is fairly simple. I have image "A" that has its own mouseover and mouseout (to change it back to what it was). BUT I am having difficulties figuring out how to get the mouseOVER …
i dont have a code hi guys i want to check the username at registration time automatically when the user name txtbox lost focus after entering a username like happens in most sites dynamically.
Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [CODE] el[j] = document.createElement('input'); el[j].type = 'text'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …
hi all. i hope someone could help me. i'm trying to build a bidding site using ajax, and php. what i want to do is that: when the bid time is over 5 minutes, the "div" i've placed will refresh every 10 seconds, and when its under it will refres …
I now currently using aptana studio to create a mobile widget. I have created a event calendar. On click on a date, the event details will be display. the event details is currently stored in a list array. Now I would like to create a reminder function. For example, two …
I've only just started playing around with Javascript, so don't mind what I say if I misuse a term or ask to do something that's impossible. I'm having a problem opening a program through Javascript. I want the script to start a game that people can play. I'm using the …
Hi Folks, I have created a text box dynamically using javascript. Now i want to call a javascript function in the OnChange Event Of that Control is there any way to do the same.?? Here is the code what i tried. [QUOTE] el[j] = document.createElement('input'); el[j].type = 'file'; el[j].name='work'+j; el[j].onChange='lookup(this.value)'; …
Hi everyone, I am a graphic / web designer who turned into a developer and now am being thrust against my will into sys admin. I Design on a PC, and Servers all Linux. I am at that dangerous stage, you know, I know enough to really stuff up a …
Hi all i want to let the user draw image or drawings on web page using html canvas element like stuff and then provide them to save that image or drawing on server so that next time they can get it as it was before to edit further. Please let …
Hi, I have a quick question. Does anyone have a script where I can rotate between 2 Javascripts when a page loads for split testing. So when page loads once, javascript A will fire. On next load, javascript B will fire and so on. I have found lots of banner …
My friend asked me to convert a doc file he sent me into html. He said he wanted it to look exactly like the doc. So I put <br /> in between the lines so the text appears like the one in doc. But he says now the text looks …
Hi, I am new to ajax and was taking look at code snippets. Most of the code open and send are like this: [code] var client = new XMLHttpRequest(); client.open("POST", "/log"); client.send(message); [/code] They open a connection and send the msg. Isnt connection open a costly call since the connection …
hi, i need to use HtmlAsText as a background tool in my javascript coding.i need to access this tool without user interaction. then i have to code the command line that can access HtmlAsText. htmlastext.exe /run "c:\temp\convert.cfg"
OK, I am making a Form that will have about 65 check boxes, this data will be pulled from database. I need to validate form to be sure that 7 (no more no less) are checked. Can some one post a quick code snippet of the code validation for this? …
I m getting problem while creating a dynamic website. In Ajax I have good tutorial book. but it missing, "how to create XML file filled with data which comes from SQL server. Second thing is that: How to retrieve the data from XML file. Please Help out me for this …
how can i use [URL="http://www.w3schools.com/HTMLDOM/met_win_setinterval.asp"]setInterval()[/URL] to make a slideshow of images with the code i have now that only has thumbnails that display in one big div(larger pic of the thumbnail) when the thumbnail gets hovered over.(onmouseover) this is the javascript function.: how can iuse set interval to make the …
I want to access one control of FCK through a html button (out side of fck) when we click on 'Paste as Plain text' image of FCK editor a popup window named `Paste as Plain text` is displayed I want to open that `Paste as Plain text` pop up window …
hi, everyone i would like to learn more about parentnode and childnode (with exaplanation) with the tutorials The reason i am beginner i dont understand this properties does anyone help
Hello Friends, I have an <img> Tab to play a video(of type .wmv). The image tag is as follows: <img border="0" dynsrc="Test1.wmv" start="fileopen" loop="1" width=1081 height=838> Everything works fine, but now I need to play a video list (up to 5 videos). As soon as one video stops another video …
Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …
Hi Folks, I have 2 texboxes with the name names like 'des0' and 'des1', So i need to validate this two controls for required filed with the help of loop. something like this [CODE] for (var i=0;i<=1;i++) { } [/CODE] So i have confused what will write inside the loop …
javascript is new to me. i've to develop software using javascript. i know how to read file in javascript activeX. but i dun know how to input files in javascript activeX.
Hi all, Iam trying to tigger some file which will be working in backend once the window is closed in php. Iam using onunload function in javascript but it triggers the file once we leave that particular page only. If we closed the window it didnt do anything. Anybody have …
hello, i echo this [CODE] echo "<td ALIGN='center'><div class='rollover'><a href='http://www.tsfdgdg.com/search.php?search=$stackname' style='text-decoration: none';> <table border='0' celpadding='0' cellspacing='0' id=\"point\"> <tr> <td width='100px' height='101px' ALIGN='center'> <font size=3 font face=Arial font color=white><b>$stackname</font><br><font color=orange font size=2>$posted</font></b> </td> </tr> </table></a></div> </td>"; [/CODE] here is the css code [CODE]<style type="text/css"> .rollover a { float: left; width: 101px; …
on firefox its working. on ie it gives me error on page.. how to solve it?
I want to have a date picker for my application. It should be really simple... I went through many examples. But all I found contains very large files (LOCs)....How can I impliment a simple calender? to pick a date and time.... (jst wanna use them in two comboboxes... to pick …
hello, can i check with you all,how do i code to get the parameters from textbox in javascript and pass the parameters to the servlet after a button is click. thanks camilia
Hi all, The following link [url]http://www.codeproject.com/KB/webforms/disableListItems.aspx[/url] disables items 1 and 2 from the checkboxlist if the user selects checkbox item 3. Can someone PLEASE tell me how i could change the code in this link to work for ListBox. So if I had 5 items in the lisr box (below) …
This is my first project using JavaScript. I have a PHP page that loads text fields "if" called for. I thought JavaScript would be a great way to get the total of all Text Fields without Submit. The code below is an example of my problem. [CODE]<SCRIPT language = JavaScript> …
i have html files at C:/Documents and Settings/USER/Application Data/Mozilla/Firefox/Profiles/ksx3y6oy.default/bookmarks.html. the html files is in my hard disk. then how im going to called the html files to be an input in my javascript coding.someone please help me
and how do i achieve the whole edit the post without reloading the page?
The End.