15,121 Topics
| |
I have an external javascript from which I wish to call a function from another external javascrpt. For the life of me I cannot figure out how to do it. Thanks in advance for the help, Jeff | |
Can any body tell me why my onblur() function is not working in javascript. Code is pretty simple. Its a text box with an onblur() function showing an alert. I have used it long back.. But i could not figure out why its not working now.. I dont know what … | |
Hello friends, I have been designed the web application using different themes. I have applied the themes successfully. But the problem is that while giving class name to the div tag for the rounded corner to the box with their images is not working properly. Below is my snippet :- … | |
Dear All Experts I wrote a simple code in javascript and it is working fine with IE and Firefox but the out put in php array count is correct in IE but not correct in Firefox Please check the code attached here. <script language="javascript"> var arrdimensions = { "codimesion":{"s":{'0':'dimesion1','1':'dimesion2','2':'dimesion3','3':'dimesion4','4':'dimesion5','5':'dimesion6','6':'dimesion7'},"c":1,"m":"50", "sc":1, … | |
Hi, I have an aspx textbox control in my webpage its value is being assigned from javascript. Now once the value is assigned from javascript it returns empty string when tried Textbox.text from c# codebehind on submit. here is the definition of the textbox <asp:TextBox ID="TxtTags" CssClass="TextBoxStyle" runat="server" ReadOnly ="true" … | |
I am building a rotating page. For URLs. The problem is that the page does not reload a different URL when you refresh the page, and I want it to load a different URL when someone enters the site. I have tried different coding and nothing seems to work. Here … | |
Hi all, Suppose, i access the website(Main window), the site will load. Meantime,i want to open a new window (Child window -like a pop up) on the top of the main window. Now,the browser focus on the child window.In the mean time the main window will disable. Please find below … | |
I made a code snippet that displays different content based on the browser but, it returns an error and not work. What's wrong here? [code=HTML] <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Language" content="en" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Adsız 1</title> </head> <body style="font-family:Verdana;"> <script type="text/javascript"> [/code] [code=Javascript] if (navigator.appName == … | |
Hi all, I need to select all the divs having the classname starting as msg_body. actually the classname is msg_body_3. The last part of the class name of each div will vary as it is an id. How can i slideup all these divs, class name starting with msg_body using … | |
Hey, I know that Javascript can disable keys on the keyboard and even the right mouse click. What I want to know is, is it internationally legal for a Website to render commands on the keyboard and or mouse useless while using a Website. I'd really appreciate any feedback and … | |
I don't know if this is the right forum for this question .. I have a script that is written in PHP and in the middle of this: [CODE]<a href=\"#main\" onclick=\"form_visible();\">Click</a>[/CODE] This is supposed to make a form show by a click on the link [I]"Click"[/I]. What I want to … | |
[CODE]/*helo every one, I am just a newbie in javascript, but can any one help me with the second function?*/ <html> <head><title>survey2</title> <script type="text/javascript"> var Item = new Array(); Item[100] = 15; Item[101] = 10; Item[102] = 5; Item[103] = 0; function show_it() { var total = 0; var Details … | |
Hi, Im developing a firefox exrtention which can get weather alerts from various rss feeds and display them in a popup panel. So, I need to know [B]how rss reader know that rss feed has updated[/B]? Do I have to check it using a timer? thanx in advance! | |
Hi everybody, In my project i am using ajax and jquery. After going to a page via ajax without page reload i want to see the same page if the user refresh the browser. I used the cookie plugin inorder to solve. As it is not safe i am trying … | |
Hi, I was looking for a poll script (php/ajax) that does not reload when adding a vote. I've tried to search around for it but haven't found one that suits my needs. Anyone that knows where I can find such a script? Thanks, Robin | |
please open [url]http://www.sharewink.com/[/url] in mozilla and IE search for share Please what am i doing wrong? | |
i am currently using the meta tag for page transition i would like to use a cross browser script does anyone know of a script to circle out on page exit that is cross brower compatable a little sheepish shorn | |
[CODE] <html> <head> <script type="text/javascript"> function check() { var val = document.myForm.content.value; if (val.length <= 10) { document.getElementById('numC').value = val.length; //out.value = val.length; } else document.write("Please enter the text in range of 10 characters!"); return false; } </script> </head> <body> <form name="myForm"> Type something here: <input type"textbox" value="" name="content" onchange … | |
Hello all, please help! I need use two jquery scripts - dynamic select box and clone row. Each of them work fine but I cannot find the way to use it together in one script. Thank you for any suggestion! Petr live demo: [URL="http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww"]http://www.guitarcases.cz/index.php?clanek=zakaznik_objednavkawww[/URL] [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML … | |
[code] <html> <head> <title>Nhung rac roi ko hieu</title> <script type="text/javascript"> function getvalue(list) { while(list.options.length) list.options[list.selectedIndex].value=null; var value = list.options[list.selectedIndex].value; document.write(value); document.bgColor = value; } </script> </head> <body bgColor="lavender"> Here is the list for you to Change the bgColor! <br/> <select name="list1" onchange="getvalue(this)"> <option value="green">Green</option> <option value="orange">Orange</option> <option value="yellow">Yellow</option> <option value="pink">Pink</option> … | |
I am new to AJAX and I am trying to create a script that will change content of a div. My scenario I am using is an index page with the list.php script included in the div I want content changed in. The list.php script will pull 8 newest titles … | |
Hey, I think this is the right place, but not sure. I wanna make a firefox extension, and wanted to know if JavaScript is what I should be learning, or something else? | |
[CODE] <html> <head> <title>Web just for training</title> <script type="text/javascrip"> function chBG(kolor) { document.getElementById('ab').style.background = kolor; } </script> </head> <body id="ab"> <input type="button" name="b3" value="green" onclick="chBG(this.value)"><br/><br/> <input type="button" name="b4" value="blue" onclick="chBG(this.value)"> </body> </html> [/CODE] Here is my code to change the background color but I does not work!I don't know why, … | |
hi i want to do validation on two textboxes on my website i am creating. i want to make sure something is entered in each box before the user can proceed. the two textboxes are called teammanager and teamname and are in the form called addteam. the code i have … | |
Hey im building a site and i need to learn a bit more about security, ajax, php everything. I know basic stuff but I havent read anything about it so plz share some links or experience plz ! For example am I going to use a ajaxlogin, anything I really … | |
hello, I am S L O W L Y working through learning/writing a JS project. here is the core issue.: [CODE] var pt =<? echo json_encode($prt);?> alert(pt) // for diagnostic purposes [/CODE] json is flattening the PHP array to be used in the script. However, the alert shows me that … | |
Hi, I'm starting playing with javascript and bounce to some problems. The script tries to read the <p> background color that is set using stylesheet and set a global variable with this value for later use. It seems that the variable does not instantiate (and btw. there is more than … | |
Hey there I was wandering if somebody chould help me becuase I would like to know how to change a forms action when you click on a button ? Or... How to load a new form in the same webpage when you click on a button? I have managed to … | |
is it possible to have php code within jquery or do i have to use ajax to grab the values. ex of what i was trying [CODE] function blah() { //Creates the name tag $("#newitem").append("<tr><td><fieldset><legend><select name='produce'><option>--Select--</option><?=produce();?> </select></legend><table width='200'><tr><td>Ammount</td><td>On Hand</td><td>Cost</td></tr><tr id='txtHint'></tr>"); } [/CODE] as you can see that i have a … | |
Hi everyone i am looking for some help with a little java script i am no programmer so i need alot of help i have a marquee tag on my page that slides in some text from right to left once and the stops and remains on the screen have … |
The End.