15,698 Topics

Member Avatar for
Member Avatar for fxm

This method invocation txt.match(/\[.*\]/g) works exactly as intended - it returns an array of matches [anytext1],[anytext2],[anytext3] I don't need the brackets, so out of curiosity I tried this tweak txt.match(/\[.*(?=\])/g) which - somewhat to my surprise I must admit - does exactly what I was hoping it would do and …

Member Avatar for fxm
0
93
Member Avatar for nccsbim071

hi, i have a website where i provicde a link. On clicking the link a controller action method is called to generate a zip file after creation of zip file is done, i show the link to download the zip file by replacing the link to create a zip with …

Member Avatar for nccsbim071
0
290
Member Avatar for Eccentric.2005

Good evening. I have been working on a small project over the last 2 days to help me learn Javascript. I managed to solve most of the problems I ran into with a bit of googling and reading some books. However, there is one problem that I just can not …

Member Avatar for Airshow
0
76
Member Avatar for gsula

In my site the parent page button have both [B]rollover function[/B] ([I]when child pages drop down[/I]) and [B]onclick function[/B]. I don't want a visitor to click on the parent page because there is no content in it. So, I'd like this parent page button to have [U]only rollover function[/U] ([I]on …

Member Avatar for peter_budo
0
50
Member Avatar for Corbula

I have a lot of tables and to get it to post some of the data into a form. So say i have a location and a start date and end date, and when i select a radio and click submit the location and dates get put into the corresponding …

Member Avatar for Airshow
0
3K
Member Avatar for dylank

Hey Daniweb; Ive scoured the internet for scripts that make a <div> follow the mouse, and have found one that seems to work well. However, I want the <div> to stop moving when the CTRL or the SHIFT key is pressed, I dont care which. Hopefully, I can have a …

Member Avatar for Airshow
0
470
Member Avatar for noktasizvirgul

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 …

Member Avatar for vesnushka
0
94
Member Avatar for amby

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 …

Member Avatar for amby
0
253
Member Avatar for apollokid

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 …

Member Avatar for pritaeas
0
82
Member Avatar for Atomika3000

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 …

Member Avatar for Airshow
0
250
Member Avatar for boomop

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

Member Avatar for boomop
0
132
Member Avatar for jimminni

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

Member Avatar for Airshow
0
76
Member Avatar for emilyhedgecock

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 …

Member Avatar for almostbob
0
5K
Member Avatar for shakerxxx

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

Member Avatar for almostbob
0
111
Member Avatar for sniigg

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

Member Avatar for sniigg
0
220
Member Avatar for lifeworks

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 …

Member Avatar for lifeworks
0
1K
Member Avatar for Molinski

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 …

Member Avatar for vsmash
0
2K
Member Avatar for pato wlmc

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 …

Member Avatar for pritaeas
0
191
Member Avatar for lich

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 …

Member Avatar for tharu123
0
666
Member Avatar for runey71

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

Member Avatar for runey71
0
588
Member Avatar for sa1support

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 …

Member Avatar for sa1support
0
141
Member Avatar for Bobon

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 …

Member Avatar for Airshow
0
185
Member Avatar for ms_sws

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 …

Member Avatar for ms_sws
0
215
Member Avatar for harry010

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 …

Member Avatar for harry010
0
84
Member Avatar for albertkao

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 …

Member Avatar for albertkao
0
162
Member Avatar for jitendra_25

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 …

0
55
Member Avatar for amby

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 …

Member Avatar for Airshow
0
191
Member Avatar for Santho786

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 …

Member Avatar for Santho786
0
231
Member Avatar for ms_sws

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 …

Member Avatar for ms_sws
0
309
Member Avatar for ephemeral

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 …

Member Avatar for Airshow
0
154

The End.