15,688 Topics

Member Avatar for
Member Avatar for greeny_1984

hi, iam using the following javascript a page opener.location.reload( true ); but every time the page reloads iam a getting alert message. How can i reload a page with out a alert message

Member Avatar for ejazmohammed
0
9K
Member Avatar for sonia sardana

I have dropdown & Gridview on FrmSatelliteMain,In dropdown DataValueField uid is there,Now i want that as the user selects the value in dropdown ,on basis of uid i will fetch the records fromm DB & bind to Gridview using AJAX. Plz frnds dont tell me dat,dat do it using AJAX …

0
63
Member Avatar for zerogee2

ok, i wrote a label for statement that on row 1 has "*" and nine spaces. row 2 has 2 "*" and 8 spaces and so on...... till my tenth row has ten "8" now i need to do the opposite; row 1; 9 spaces and 1 * row 2; …

Member Avatar for Airshow
0
129
Member Avatar for koyel555

I need quick help, its urgent for my job, pls help me. I need to change the font color, font size & font face of some text assigned in a div. To do so I have a form select option menu at the top, adn below the menu three's 3/4 …

Member Avatar for FlashCreations
0
738
Member Avatar for MarrkoR

Hi, i use jquery and this function: var news = setInterval(function() { $('#news).load(news2.php?id='+ Math.random()); }, 5000); But this function re-enter div. I want to add a div, that old data remains.

Member Avatar for Airshow
0
51
Member Avatar for eligmatic

Using write instead of createElement/createDocFragment? Hello all, I've made a version of a script: [url]http://pastebin.com/m795e1a9a[/url] found here: [url]http://www.daniweb.com/forums/showthread.php?t=212732[/url] It's great (all credits go to the original author(s)), but I would like the results in a pop-window and I seem to have met a mental-block. I would be grateful for any …

0
62
Member Avatar for beanboy

[CODE] <%! String[] selElts=new String[100]; %> <a href="myPage.jsp" onclick="selElts = tree2.getAllChecked()">Get list of checked</a> [/CODE] the values are returned from a javascript function. now, how could the print the array values in the same jsp page?

0
57
Member Avatar for ashwani2711

I have an existing JSP website which I would like to painlessly add CMS functionality to. The site is a intranet portal and is backed by a database etc. however some pages like News and Events etc. I would like the user to be able to edit using a simple …

0
44
Member Avatar for cwarn23

Hi and I'm no noob 2 ajax and have used it many times before. But for some reason this script doesn't want to work on any browser except Internet Explorer. Can anybody see what I have done wrong in this code as I have searched and searched for hours and …

Member Avatar for cwarn23
0
159
Member Avatar for beanboy

hi, JAVASCRIT the actual program reads and prints values from a checkbox tree and this piece of code does it. [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] the values are returned …

0
53
Member Avatar for cooterbrown

Hi, I posted this on the web development forum and did get headed in the right direction, but it looks like it should be here as another member suggested.... I have a calculating order form, which is at [url]http://www.bcdcoatings.com/orderform.htm[/url] which I partially inherited. The problem is that the second drop …

0
48
Member Avatar for vairvixen

I'm really new at JavaScript, but I thought an image map with rollover images would be a relatively basic feat... I have a large map with hotspots over individual states. I want the user to hover over a hotspot and for the main image to change, displaying information for that …

Member Avatar for vairvixen
0
181
Member Avatar for Potato.Head

How can I capture the maximize and minimize of a browser? It is possible to capture this events? I'm searching the web and I didn't found any results. I want to be know if the user maximize/minimize the browser ? Is this Possible? Thanks for the help

Member Avatar for Troy III
0
89
Member Avatar for ritu verma

I know how to fetch the records from DB,But i want to ask u just small thing. SQL TABLE [code] roll name marks 1 Ritu 10 2 Sneha 20 3 Ruchi 30 [/code] CODE BEHIND PAGE Default.aspx [code] protected void Page_Load(object sender, EventArgs e) { cmbRoll.Items.Add("--Select--"); cmbRoll.Items.Add("1"); cmbRoll.Items.Add("2"); cmbRoll.Items.Add("3"); cmbRoll.Attributes.Add("onChange", …

0
70
Member Avatar for lkofman

[code=html]<html> <head> <title>Ajax demo</title> </head> <body > <script type= "text/javascript" > var req; function validateUser() { alert("validate catched") if(window.XMLHttpRequest){ req=new XMLHttpRequest(); } else if (window.ActiveXObject) { req=new ActiveXObject("Microsoft.XMLHTTP"); } else{ alert("Your browser does not support XMLHTTP!"); } alert("request catched") var idField=document.getElementById("userid"); var url="localhost:1234/a/validate?id=" ; url+=idField.value; req.open("GET",url,true); req.send(null); } </script> <H1>Ajax …

Member Avatar for lkofman
0
135
Member Avatar for lifeworks

Hi I hope this is an easy one... Im a bit of a noob when it comes to mootoools, but have created a menu which hides itself and slides in from the left... I'd like to have it start hidden first though... can anyone tell me what i need to …

Member Avatar for lifeworks
0
108
Member Avatar for stvrich

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 …

Member Avatar for stvrich
0
123
Member Avatar for beanboy

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

Member Avatar for anuj_sharma
0
154
Member Avatar for feoperro

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!

Member Avatar for Airshow
0
84
Member Avatar for feoperro

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.

Member Avatar for feoperro
0
93
Member Avatar for beanboy

i've printed sent some text into window.open. is there any method to read the data from that [U]window.open[/U] page?

0
59
Member Avatar for beanboy

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 …

Member Avatar for Airshow
0
136
Member Avatar for QuickBooksDev

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 …

Member Avatar for QuickBooksDev
0
183
Member Avatar for feoperro

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

Member Avatar for Dukane
0
161
Member Avatar for cj1

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

Member Avatar for McFant
0
215
Member Avatar for phutisemenya

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 …

0
69
Member Avatar for penepepe

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 …

Member Avatar for penepepe
0
134
Member Avatar for onejavaone

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)

Member Avatar for peter_budo
0
33
Member Avatar for zido85

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 …

0
71
Member Avatar for scarypajamas

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 …

Member Avatar for Thirusha
0
173

The End.