15,120 Topics
| |
I am just wondering if someone can tell me what this message means, even roughly. The following is the error message box that pops up when I try to access/open a yahoo email account. The error (in english) is followed with some script referred to. I am very "curious" what … | |
[CODE] <html> <body> <input type="text" value=""> <input type="reset" value="reset"/> </body> </html> [/CODE] why is my reset button not resetting the text box? | |
| Hi, I would like to assign the substring of particular text to a javascript variable so that I can use the variable in an if statement. Can anyone help me here? Thanks! |
| Hi, I've got a textarea like this: [CODE] <textarea name="myTextArea" rows="4" cols="20"> </textarea> [/CODE] For some reason every time the page starts, the text area is populated with a couple spaces inside it. Any way to clear it on startup? Thanks, -Ash. |
i've printed sent some text into window.open. is there any method to read the data from that [U]window.open[/U] page? | |
Dear Helper, javascript code: [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); } dhtmlXTreeObject.prototype.getAllCheckedBranches=function(){ return this._getAllChecked("","",0); } dhtmlXTreeObject.prototype._getAllChecked=function(htmlNode,list,mode){ if(!htmlNode)htmlNode=this.htmlNode; if(((mode)&&(htmlNode.checkstate==1))||((!mode)&&(htmlNode.checkstate>0))){if(list)list+=","+htmlNode.id;else list=htmlNode.id;} var j=htmlNode.childsCount; for(var i=0;i<j;i++) { list=this._getAllChecked(htmlNode.childNodes[i],list,mode); }; if(list)return list;else return ""; }; [/CODE] [CODE] <a href="javascript:void(0);" onclick="document.write (tree2.getAllChecked())">Get list of checked</a><br><br> [/CODE] You may guess, the list is displayed in alert box. but … | |
Script works in MSIE but not FireFox (part of a VB.NET 2005 web site) There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue. The below works in MSIE var _rate = "ctl00$ContentPlaceHolder1$txtrate"+index; var rate = document.getElementById(_rate).value; index = 1 to 10 for … | |
| Hi, I'm trying to do the following: 1. Click on a row (ANY cell of that row) 2. Depending on where I clicked, a javascript function should get the value of EACH cell in THAT row, and populate it to text boxes. Below is my code thus far: [CODE] <html> … |
Hello all. I am unable to solve two problems creating a contacts form using dreamweaver CS3. My other problem is posted under the heading, "Modify code created with Dreamweaver CS3, to compare two text feilds". For this posting, can someone please tell me how to modify my code, pasted below, … | |
hi, All i have two options form; one hold $selection that select suburb from datadase and other $suburb which “Selected Records”. when a suburb is double clicked, it should automatically be added to the corresponding selected section; and be removed from the selection list. The same with a record that … | |
Hi there! i've got an html form and i want to make sure some fields are not empty before it gets submitted. i've read many examples and i've written some code but i have no idea why it doesn't work (it's as if the javascript script didn't exist). i don't … | |
html code: [CODE]<ahref="javascript:void(0);"onclick="alert(tree2.getAllChecked());">Get list</a>[/CODE] this calls script code [CODE] dhtmlXTreeObject.prototype.getAllChecked=function(){ return this._getAllChecked("","",1); }[/CODE] how to get the list to the nxt jsp page (not to alert box) | |
Hello, I have a little problem, and i want to ask if someone can help. My problem is, Im using AJAX to get PHP page result (the result is called from MySql and inserted in a table) in a DIV contained in my main PHP page where i m using … | |
Oh, so I know you can include html files inside html files using: [CODE]<!--#include virtual="myfile.html" -->[/CODE] The problem is, I might want to change the html I include based upon variables passed between web pages. For example... [CODE] <script type="text/javascript"> var name = getValue("myValue"); //getValue returns the value of a … | |
My issue may be similar to daved83's issue where my script works as designed in firefox but when used in IE6 (the only IE i have tried so far but matters because it will only be used on IE6 at this stage) his was in AJAX and I am new … | |
Hello, I'm new at Ajax and Javascript. Can anyone help me on this? I'm calling 2 Ajax funcions, one after the other, with a delay time in between. The first call executes a script that inserts a row in a MySQL database. The second call execustes a cript that lists … | |
| Hi, Is there a way to reference a table cell in a table that will have X amount of rows? I want to use javascript preferably... The only methods I know of are "getElementById" and "getElementByName" - Problem is, since the cells are only known once the page is run, … |
| Hi, I'm trying to set table cells according to co-ordinates [x][y] - does anyone know if this is possible? Here's what I've done so far: [CODE] <html> <head> <title> Trial & Error - Table Cells </title> </head> <body> <script type="text/javascript"> function getRow(t) { var col=t.cellIndex; //Gets column number clicked on. … |
Hi everyone, I hae created a dropdown menu using ajax where each option is populated dynamically based on the previous choice. It works great on Firefox thanks to help I got on this forum. It doesn't work on IE however. I believe this is because IE doesn't recognise the innerHTML … | |
Hi to all, Hope you all will be fine.Please tell me what's wrong with this code, why it is not working on internet explorer 6 even i check the browsers which the user is running, works fine on some browser but not on all browser and on also different versions. … | |
| Hi, I have a javascript function that sets the value of an input area on my page. I need to update the function so that it also sets the value of the input area on a separate page. Currently, I am using a frameset, so I can see both pages … |
i am designng a site the uses CSS and the CSS Uses Javascript, On the first load of the page the popup block the css from displaying it content which i guess is the java script and the pop up do distort my page at first load until i remove … | |
I have written some code for template generator but I am having issue getting the formatting when it is generated in the <textarea></textarea>. I want to have it to look like Service Affected: {then populated text} Service Status: {again populated text} Current/Next Actions: {populated text} it ends up printing out … | |
| Hello, I want to stick one DIV to the bottom! I've managed to do that but when I scroll down the DIV doesn't scroll smoothly! Below is my code:- [CODE] <div id="x"> <center> <div id="footer" style="width: 95%; background-color:#66CCFF; border: 1px normal black; top: 100px; position:absolute; align:center; height: 50px" align="center"><center>A</center></div> </center> … |
Greetings. I'm stumped with a particular problem involving an ajax script that works for Firefox, Opera, Safari, and Chrome... but unfortunately does not work with any version of IE [I](*actually I haven't tested IE6 or less yet, but who cares about those anymore*)[/I]. On the HTML side, a list of … | |
reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/; what is the use of / operator and ^ what does + used for why \ please explain in depth Thank u | |
Hello, I need to know this one. How can we get printer status using JavaScript and also how can we give MS word document print command using JavaScript. | |
Hi to everyone, i'm new to javascript and to daniweb, what i want to do is to put all the properties from all the divs of the page, to all their child elements, this way, for example. [code] <div style="background-color: #000000"> <b>Text</b> </div> [/code] would change (using javascript) [code] <div> … | |
I have this email validation which checks to make sure a "@" sign is present but doesn't check for "." I just need to add this to the function which I thought would be pretty easy but has proved otherwise. Here's my script: [code=html] <script type="text/JavaScript"> <!-- function MM_findObj(n, d) … | |
Hi, I seen an IDE a while ago that stated that you do not need to install or require Admin Priviliges to use on any PC. I can no longer find it. Does anyone know of such an IDE? |
The End.