15,127 Topics
| |
Hello all, I start working with Selenium Web Testing 5 day ago, and I cannot figure out how to test Javascripts and AJAX-driven menus. I read almost every sentence in documentation, it explains well but I cannot understan without an example. For example I tried to find an example testing … | |
Hi, I have a javascript object which is converted from json to java script object. i want to display its values like after each key value pair, i want to insert new line. but i dont know exactly how to do that. below is my code, please take a look … | |
Hi all, i have this function, it slides down a div #dd_about and stays down until i click on the body, is there a way to keep the div down until i move from the div and not click? Im new to jscript and jquery thanks. Any help is appreciated … | |
i'm trying to make an app that lets the user add two items from a text box go into a 2d array and be able to repeat this as many times as they desire, each time adding it onto the end of the array. Then when the user presses a … | |
ok, So Im very new to this whole AJAX kind of thinking, and I might be trying to do something that's either harder than it needs to be, or theres an easier way that I havent fount yet... I'm trying to make a generic javascript function to call php functions.... … | |
Dear all, I'm looking for DHTML for a screensaving function please. I've looked through all of my HTML & web development books and can't find anything of the sort. T.I.A. Jimminni | |
Hi I have made a javascript image viewer where there are thumbnails at the top and when you click on them the bigger image below the row of thumbnail image changes according My question is, how do i make the larger image become a hyperlink to the corresponding page it … | |
I am trying to code this kind of menu ( [url]http://www.elmalma.com/index.html[/url]) for my web page but I have no clue how to do this. does anyone has idea about this. or What is this menu name? Thank you so much for help Sincerely, Yunus | |
Hi, I have a html document when i run in Internet explorer i am getting the desired output(j query working fine). But i copy pasted the same code in aspx page...the same code is not working properly... | |
I tried to get as much info into the title as posible... hope it doesnt confuse anyone i have an initAll() called on window.onload within initAll() I assign a few onclick handlers to some links. However, it would be great if I could pass an argument to the handler, so … | |
I have been a happy lurker for some time now, soaking in the abundant knowledge that i have found here. But now I am at my wits end trying to find the solution to what is probably a novice’s oversight. I have a menu that animated with jquery. One of … | |
First the definition of Easter Egg ( Or at least the one i care about ): [I]In computing, the Easter eggs are messages, graphics, sound effects, or unusual changes in behavior of programs that occur after introducing some undocumented commands, mouse clicks or keystrokes. It initially used the term Easter … | |
i want to redirect the page after submitting to the exact page with the tabs. but when i submit it just loads the same page. but what i want is it should load under the home tabs. my other pages are loading in the div tags which are loaded using … | |
I am trying to preload some sounds for a website I am working on... Originally I used the embed tag but that caused problems in Opera and did not validate... So I've switched to the object tag which now works in everything except IE8... [CODE]<object id="sound_lock" class="embedded" data="sounds/iphone/system/iphone_sound_lock.wav"> <param name="autostart" … | |
Hi guys I have created some custom code and implemented it into a article within Joomla. (The HTML editor is turned off) The code works in all browsers except Internet Explorer Versions. The custom code has Javascript and the "onMouseOver". The purpose of it is to change a image when … | |
Hey guys, trying to teach myself a bit of javascript as i would like to get a website up and running. Please have a look at the code below. I'm trying to create input for a webpage. In the first piece of code, i'm declaring all the functions(which i'm sure … | |
I've used the following code to open Excel. It works but generates a browser error warning the visitor that the web page is trying to run an add-on with an unknown name, and control with an unknown name. Is there a better way to open Excel (read only) in order … | |
Hi, I'm currently working on a script that parses out function keys in a string of text. I've got this code which works, but was just looking for ideas on how to improve it :) I would have liked to use regex, but I would need to do variable substitution … | |
I want to keep the value of the user input (e.g. text box value) displayed after page refresh by a javascript. The following test web page is used. The alerts appear before and after the page refresh as expected on all browsers (FF, Chrome, Opera & IE). The input value … | |
I have used a javascript to display a countdown timer for 60 min. like in an online exam. It works fine but when i refresh the page on which timer is displayed then the timer value again resets to 60:00. So, if there is any solution to prevent this please … | |
Hi, In my code behind file, I called Soap web reference and retreive data and diplay in grid view and it worked. But when I convert retreived data to Json text and send back to java script and on client side, convert json text to java script object and when … | |
Hi, I have an array of integers I like to retrieve the max number and index of max number from that array without using Math.Max() function.. Presently in this below code, I have 4 dynamic values, end user will be select degree from combo box, entering the values semester, Max … | |
I could use some help. I have a function that opens an Excel spreadsheet to load data from it. The function is found inside <head> </head> and within that inside <script></script> (see below). The problem is that I need to write that data inside the row of a table in … | |
I'm having two Ajax-related problems on a page I am working on at the moment. [URL="http://www.utm.edu/departments/acadpro/library/openmic/add2db.php"]http://www.utm.edu/departments/acadpro/library/openmic/add2db.php[/URL] On this page, I have two buttons that use Ajax to fetch two separate forms and put them into a chosen div; that part works like a charm. On said forms, there is a … | |
Hello, I am attempting to use JavaScript to 'highlight' text by changing it's background color: [code] <div id="foo" onMouseOver="highlight(this);"></div> [/code] In JavaScript: [code] function highlight (word) { document.getElementById (word.id).bgColor="blue"; } [/code] This produces no effect. I also have an onClick event in the same div, can I not have onClick … | |
Is it possible to name a cookie in javascript? i've got a web program that will display "name:undefined Name:Jack Grade:32" whenever i display the contents of a cookie i create. i'm assuming th first bit is the cookie name itself and then the other two bits are the contents? also, … | |
defined('_JEXEC') OR defined('_VALID_MOS') OR die('...Direct Access class aca_module [ var $shownamefield = 0; var $receivehtmldefault = 1; var $showreceivehtml = 0; var $listIds = null; var $linear = 0; var $fieldsize = 10; var $introtext = null; var $redirectURL = null; var $showListName = 0; var $buttonUnregistered = _ACA_MOD_SUBSCRIBE ; … | |
I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative … | |
I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't … | |
Hi all! I am trying to get a JavaScript date selector to work for a front end I'm writing. I've seen a lot of problems related to JavaScript and IE vs. Firefox but I've yet to find a solution to my issue. I have a simple form - when you … |
The End.