20,316 Topics
Hi, I have a user on a Website(name withheld) who is clicking on a button which loads the Ajax indicator and then opens a pop-up, but for this particular user the Ajax loads indefinitely he never gets to go to the pop-up, my guess is there is no bug in …
HI, I'm new in javascript and ajax and I need a IDE to write and debug my codes and I want it to be something like phpdesigner or dreamwawer that have snipper and suggest me when I write some of the code. Do you know something that can help me …
I have a simple page that has two popup windows ran with css and javascript. Using the edit button, the windows popup correctly, but I cannot get the position to be right. When I click edit on either of the two links, the div opens at the top edit rather …
Please see the code below. i am not able to get this to work. When i click on Activities in Header, the content doesnt show up. what am i doing wrong here?? please help... thanks in advance <aj1:Accordion ID="Accordion1" runat="server" SelectedIndex="-1" HeaderCssClass="navlinkI" ContentCssClass="subnav" AutoSize="None" HeaderSelectedCssClass="navlink" FadeTransitions="true" TransitionDuration="250" FramesPerSecond="40" RequireOpenedPane="false" SuppressHeaderPostbacks="true"> …
Hi, I want to submit the form when click on url without page refresh. I create url by using some mysql DB values url like:- index.php?pid=2&mid=25 index.php?pid=4&mid=34 when click on url pass the values to another variables But with out page reload. How to do this? Any sample link?
I 'm trying to create my own Javascript library which I want to be able to access in the same way as you do with Jquery (by writing Jquery.something or $.something). But I can't figure out how that is done. The object Jquery must in someway be created and have …
Hi, I want to validate the user id that was entered in a textbox (similar to while registering to a site, we come across something like "this username already existed please choose different") without refreshing the page (or i can say in textbox onchange event) can someone guide me how …
hey is there any way i can dynamicallay pupulate 3 drop downs ie when based on d selection of a value from 1st drop down populate 2nd drop down and based on value selected in 2nd srop down populate 3rd drop down,but i wan this to happen in my edit …
i am using update panel. i could not validate the text,number and email in aspx page.I need the solntion.
Hi I have seen this popup in a registration form. I think it's using jquery but I don't know how can I make some thing like this . I want to put a registration form in it ( ajax registration ) when the popup appear , around it will became …
Hi, I am trying to create a website where the visitor can choose one of two languages when first arriving at the website. Then I want that choice to be saved throughout the whole visit without the visitor having to log in. I've always felt that cookies are a lame …
this is code for the pop up div, but i want the pop up div to display where the cursor is clicked. I need help adjusting this code to do that? [code] x = 20; y = 70; function setVisible(obj) { obj = document.getElementById(obj); obj.style.visibility = (obj.style.visibility == 'visible') ? …
A "Confirm" window pop up for Firefox, IE but not Chrome for my web page with auto refresh every 10 seconds by javascript. Attached is the screen shot. How to stop this "Confirm" window from popping up?
How to auto refresh my web page every 10 seconds without resetting all the checkboxes? This will auto refresh my web page every 10 seconds but will reset (uncheck) all the checkboxes [CODE] <body onload="timedRefresh(10000);"> <script type="text/javaScript"> function timedRefresh(timeoutPeriod) { setTimeout("window.location.reload(true);",timeoutPeriod); } </script> [/CODE]
Is the form below a valid method of changing the id of an XHTML element, specifically the one actually being referenced? It does not seem to work for me. [CODE]document.getElementById("Original_Name").setAttribute("id", "New_name");[/CODE]
Hi! I am testing how to make an easy chat engine [URL="http://erlendhl.ueuo.com/c/ExternalChat.html"]here[/URL]. First I used[ICODE]xmlhttp.open("GET",url+"?F="+FILE,[B]false[/B]);[/ICODE], but I noticed that it was very bad to use false, because then, every 2 seconds, the page stops working. (like you can't do anything for like 0.5 sec) So I tried to use [B]true[/B], …
i have the variable $hello="this is test" and i would like to do this when someone click the link "LINK" to show down of it "this is test when click once i want to look like this LINK this is test and when click again to look like this LINK …
Hi there, I'm new to this site, but i'm here because I know some HTML and some Javascript (pretty basic stuff i know) and I am aiming to eventually create my own text based browser game (possibly similar to Facebook's My Heroes Ability or better). I know I probably need …
I have a list of radio buttons. Each radio button has a dynamic name. Is there a way to check if they are all selected? Because most radio validation scripts uses a static name. [CODE]<% Dim sql,objRs,intRecord Call OpenDbconn() Set objRs = Server.CreateObject("ADODB.Recordset") sql=" select * from Review_Sheet ORDER BY …
Hi guys I'm making a golf handicap calculator, you have a couple of columns, for each hole - par, score, difference and adjusted difference. I need to total up each column, and this is my code to do it. It works but feels inefficient and clunky. Any thoughts on improving …
[COLOR="grey"]Hi all, I've been trying to solve this problem for like 3 hours, but couldn't solve it, so any help would be appreciated.[/COLOR] I want to perform 2 actions on 1 form and on 1 submit. address1 - i only have to send datas address2 - i have to send …
[CODE=AJAX] function update(value1) { doAjax("behind_scan.php" , "id="+value1); } function doAjax(url , str ) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } url=url+"?"+str; xmlhttp.onreadystatechange=stateChanged; xmlhttp.open("GET",url,true); xmlhttp.send(null); } function stateChanged() { if (xmlhttp.readyState==4) { //document.getElementById("txtHint").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText) document.forms.myform.scanner.value = ""; document.forms.myform.scanner.focus(); } } function GetXmlHttpObject() { if …
Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [code] <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', …
hello all, i am using script functions for tooltip. [code=JavaScript]function showTip(js_element) { var str_selectedElement=""; var str_tipElement=document.getElementById(js_element); var str_comboElement=document.all('cmd_combo'); for(var i=0;i<str_comboElement.length;i++) { if(str_comboElement[i].selected) { str_selectedElement=str_comboElement[i].text; break; } } str_tipElement.innerHTML=str_selectedElement; }[/code] This function is giving me tooltip on clicking/selecting items from dropdown list.i want tooltip according to my mouse movement over the …
Using AJAX how can I get web server time..
Hi Everyone. Desperate stupid question but.. Client side JS is crippled, no file access etc and the browser is also sandboxed but has anyone heard of someone running Server-side JS on the client side in a non-sandboxed browser? I know this sounds insane but in a safe intranet only environment …
Hi all,I am trying for validation using regular expression for Indian mobile number. Simply i have tried for"^[8,9]{1}[0-9]{9}$" and some others also but it is not working. I want regular expression for: 10 digit mobile number starts with 8 or 9
Hello Everyone, I would like to ask about AJAX. I am a new web developer with quite good knowledge of html, ASP and basic of ASP.NET. But i don't have any knowledge about ajax .i saw many ajax driven websites Can i please know what would be a normal word …
My JSP web page has many checkboxes. What is web page source code look like when clicking one checkbox will submit only one checkbox value (not the whole form) immediately? i.e. toggling one checkbox will send the info that only that checkbox is toggled. This does not work because clicking …
I need to write an extensive online circuit design website with lots of drag/drop. What is the best JavaScript framework for drag/drop specifically? Pete
I have been aroundsites a while and I have learnt that ajax isn't that dynamic. I tried to use iframes but got caught with cross frame AJAX and PHP with parent page. [URL="http://www.daniweb.com/forums/thread262323.html"]http://www.daniweb.com/forums/thread262323.html[/URL] Which no one answered on, so I went to AJAX. I call a php form for users …
Below is my code. I am not sure why am I getting the error "[COLOR="Red"]javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "lcc" is not defined.......[/COLOR]" [CODE]import java.io.BufferedReader; import java.io.InputStreamReader; import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; import javax.script.ScriptException; public class Eval { public static void main (String[] args) throws Exception { ScriptEngineManager manager = new ScriptEngineManager(); ScriptEngine …
Does anyone know why these event codes run twice? E.g. I am using a cookie to keep track of [Ctrl] + [Shift] + [F] by incrementing a variable once everytime it is used. However the code for it runs twice and thus the variable is never odd as it always …
Hello all... I am currently pursuing my Master in IT and we are assigned a small individual project of creating online Scrabble game for multiplayers using php, javascript and ajax. I am a noob in the field of Web Development. I know Javascript in detail and Ajax and PHP in …
As many before me, I suppose, I have trouble with setTimeout() in FireFox. Oddly, I have no problems with IE. If I use [CODE]setTimeout(loadnav1(),2000)[/CODE], FF fires loadnav1() immediately and try-catch complains about loadnav1() not being in quotations. If I use [CODE]setTimeout('loadnav1()',2000)[/CODE], IE works fine, but FF does nothing. Can anyone …
hi i try to repeat form depanding on drop down list , in example if i select number 3 from a drop down list and click next , the next page will display 3 forms . can any one help me :icon_wink: thanks
I have a login script in an iframe and after you've successfully logged in, it brings up the index page of the member [code]header("location: member-index.php;[/code] On my main page (_parent) I have an AJAX include with the ID of 'regBox'. How would I cross the iframe and make the 'member-index.php' …
Hello All, currently i have google ecommerce tracking code enabled in my website. i want to track the productNo and ProductNames along with their prices. this where i am stuck. my shopping cart where i put the tracking code can have more then one itemNo. i used a loop to …
this is just part of the code. when i added the variable hide it stopped working. basically i want the php variable hide to add on to the variable newtext2. if i've implemented it wrong, need help correcting it. [CODE] var newtext2 = obj( "reply" ).value; var hide = <?php …
Hi all, Here is my dilemma: I have an aspx page with a button on it. onclick the button calls some javascript to pop up a window with a listBox with a bunch of values. I'm creating the popup like this to avoid a popup blocker from stopping it: [CODE] …
Hello everyone, Confused with the title of the thread? Well, I guess that`s because my brain is completly fried from trying to find the correct way to do something that seems impossible without your help. Here is the story, I have 8 questions, each containing 5 answers. I have a …
Most of us have seen FaceBook and Twitter have a login form on their homepage; facebook also have the registration form. As far as I know the way to secure any kind of sensitive data is through the use of a SSL. Apparently FB and TW dont have any on …
I have a text area that is part of a form for a manageable picture gallery. When the user clicks the text area, the "Description" is supposed to disappear, and then when they click away, if they didn't type something, "Description" is supposed to reappear. The problem is is that …
Ok guys l generated some dhtml drop down menu using Sotthink DHTML menu 8. Now l am editing it in my Netbeans but cant change the height of the seperator . There is a lot of code cant put it here
how to make var newtext2 a hyperlink? the hyperlink is a php variable. I've only included this line of code. [code]var newtext2 = obj( "reply" ).value;[/code]h
Good day, I'm using jquery to give me three tabs of information. For one of the tabs, the block of text is still very long. To make it more manageable, I've coded: [CODE="css"] .job { height: 250px; overflow:auto; } [/CODE] Displayed in Chrome, Firefox and Opera, everything works as it …
Hi Could any body help us to sort it out. i am using two textareas for editing by tinymce, its working fine in ie and ff but in [COLOR="Red"]safari it is opening the first textarea editor only[/COLOR]. This was my code. [CODE]tinyMCE.init({ // General options mode : "textareas", //mode : …
hello..... i am fetching text from database. i want to restrict 400 characters from that after "readmore". it redirects to total page. i was used substring but i want to total validate what means after 400 characters there is '.' is there then not appear '.........'like this. otherwise appear after …
Hello I need to pass an array of client side events to the next page. Here my user would perform a few events which would be stored in a javascript array, upon completion a submit button would be used to post all that data to the next page. An example …
background: I have a computer with 2 monitors. One monitor opens a web page to an inventory manager(M1). The other monitor has a web page with a display of available inventory(M2). When I update something on M1 and the page reloads I want it to automatically refresh M2. Currently I …
The End.