473,804 Members | 3,063 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Javascript Forum

JavaScript web scripting language - Ask questions about JavaScript development, jQuery, Vue, React, the DOM, cross-browser scripting, event handling, OOP, cookies, client-side form validation, built-in objects like Date, String, Array and Object, performance and more.
4
1,672
thread by: joor | last post Feb 18 '08 by: acoder
Hi I am new to all this so please excuse my ignorance. I am trying to work out how I can check if my Array contains my declared variable and if so, for the boolean to return true, however, I dont seem to be getting anywhere. I have tried the for loop and while loop as below; I would very much appreciate any help var customerCodes = ; var...
7
2,224
thread by: rameshch45 | last post Feb 18 '08 by: acoder
I am developing a JSP/Struts application and there are two features where the user need to enter information about the form in his HTML page (which is not accessible to my application). He need to specify the method, action with full URL, field names, filed types, values etc. Is there any readymade editor I can present him, to smoothen his input...
1
805
thread by: poopsy | last post Feb 18 '08 by: acoder
hello..i have to do a project and i wanted to do sumthing like a shopping cart..cud anyone provide links where i have examples or tutorial on how to implement a shopping cart plzzz.. i want to know wat are the functionalites that i will have to implement and the things that i will have to cater for...i try google it but am getting real sofware to...
3
2,472
thread by: MazzaBee | last post Feb 18 '08 by: hsriat
Hi all Complete newbie. Have a table posing the question "Which do you like best"? Two possible responses. Want to replace radio buttons COMLETELY with images that represent those possible responses. With A LOT of help, I've done that using a "hidden" question (code below). It works - I've checked and clicking on one or other image indeed...
1
1,174
thread by: Samuell | last post Feb 18 '08 by: wyatt
Hi, everybody! I'm trying to make this script - http://www.w3schools.com/php/php_ajax_database.asp roll it's fields from the first to the last automatically the code i have at the moment function roller() { var total=3;//number of options for (var i=0;i<total;i++) { setTimeout("roll("+i+")", (3000*(i+1))); }
4
5,421
thread by: somnamblst | last post Feb 18 '08 by: acoder
I am asking this in javascript and not actionscript because I think the js portion more crucial. I have a viewable area in a SWFcalled box_mc on frame1 that is 300x100 until a rollOver event when it appears to become 300x274 because it has advanced to frame2 I want my actionscript to instruct a div that is 300x100pixels with overflow hidden to...
3
5,560
thread by: burrashiva | last post Feb 18 '08 by: acoder
:( ::) Hello there, I recently started Web Designing with PHP, Javascript and AJAX. I am facing a problem which I will try to explain: If I am successful in conveying the problem to you clearly, could you pl. suggest me some solution? Thank you, Here is the problem details:
7
1,423
thread by: ojsimon | last post Feb 18 '08 by: acoder
Hi What i would like is for a frame to show a website and then the user scowl around the frame and resizing it, the user then clicks on a button which displays the frame in the same position and it is the same size, but without the resize and scowling position options. How can i do this? Thanks
5
1,195
thread by: phub11 | last post Feb 18 '08 by: acoder
Hi all, Below is a simple script (adapted from http://forums.asp.net/p/1037158/1453597.aspx) which allows me to drop clones of an object into a table; however, I'd like to have (value="101") set to the value of "cond", as well as "addncomment101. Also, I need to use some kind of array to track which cells of the table have been filled. I'd like...
9
2,767
thread by: OWeb | last post Feb 18 '08 by: acoder
Javascript and recursing subfolders assistance ------------------------- I have this script that is a free extra download from SlideShowPro. It's a great script but I feel it needs to be tweaked a bit and need some assistance. The script is not mine, it is actually: Copyright 2007 (c) Dominey Design Inc. All Rights Reserved. (I don't...
13
5,765
thread by: wilq | last post Feb 18 '08 by: wilq
I got a little problem, maybe You could help me out. I have one layer that is used to darken all content on page (opacity 50%) to make other layer more visible. If i show two separate Layers - darkenLayer with z-index:1, and a other layer with z-index:2 - everything is ok. But i would like to do something like this: <DIV...
1
1,198
thread by: GoGoGulfcoast.com | last post Feb 18 '08 by: Randy Webb
Is there a Javascript command that will parse an xml tag and then simply output the result right backing the <scriptcode block? I would like to use this to help populate my "You Are Here" status block on the following page: http://www.gogogulfcoast.com/go.asp?action=state&state=AL Thx, Mark
2
1,601
thread by: hzgt9b | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Using VS2005, VB.NET and lots of javascript, I have a page with (gasp) frames on it. It has two frames a navigation pane and a "content" pane. The navigation pane runs a page that has lots of javascript in it. One of the scripts controls what is dispalyed in the content pane. I am using the following code to navigate the content pane to a...
3
4,433
thread by: dlawner | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Anyone know a way to determine if a particular url is a trusted site using javascript? I need to validate that a site is trusted before the user logs on.
4
2,289
thread by: szimek | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Hi, I've already posted an email with this problem, but this time I think I got a bit more info. The app I'm currently working on works like this: when user clicks on a clickable element, it handles its onclick event and sets values of input fields in hidden form according to event data etc. The form is submitted, on the server side...
3
2,333
thread by: Michael Powe | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Hello, Here is my problem: I have a site that uses urls of this format to submit forms: <a id="1_1_2_0" href="Javascript:if(validate)submitForm(...)">Submit</a> I'm just a third-party programmer, I have no control over this
3
1,276
thread by: Dempsey.Jeff | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
I am a wreck at regular expressions so I could use a little help. Say I have a url that looks something like this. http://test.com/test/test2/tabid/656/Default.aspx. I need to be able to pull out only the word test2. I wont know that the word is going to be test2 when I use the regular expressions so I need to find everything between / ...
7
1,722
thread by: szimek | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Hi, I've got this very simple code: <body onclick="foo(event, this)"> Inside foo method in IE "this" is body object, but in FF it's window object - at least that's what MS Script Editor and Firebug are saying. Any ideas why it works like that?
7
6,285
thread by: czechboy | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
Hi, I would like to send DELETE request to google calendar but nothing of this works: xmlhttp.open("POST",del,false); xmlhttp.setRequestHeader("X-HTTP-Method-Override", "DELETE"); xmlhttp.send(); or xmlhttp.open("DELETE",del,false); xmlhttp.send();
8
1,857
thread by: Chris | last post Feb 17 '08 by: Thomas 'PointedEars' Lahn
I've just finished a new JS color-manipulation library called jsColors, available at http://www.outstandingelephant.com/jscolors. It lets you create color objects and manipulate hue, saturation and value, as well as the standard RGB channels. Any comments, suggestions, criticisms, questions are encouraged. Enjoy. -- Chris
4
2,121
thread by: Dr Nic | last post Feb 17 '08 by: Dr Nic
ANN: JavaScript Project Generator WWW: http://newjs.rubyforge.org Generates a scaffold for a new JavaScript project, with in-built test suite (using prototypejs's wonderful unittest.js). See above url or blog post for the where's and why-for's. Hope its helpful to people. Feedback welcome on project's Google Group.
1
1,582
thread by: shaneal | last post Feb 17 '08 by: shaneal
Hello all, I've been trying to learn some javascript and I ran into a strange scoping problem I was hoping someone here could help with. I have a fair amount of experience with functional programming, but very little with javascript, so please excuse the unidiomatic code. When I do: var functions = new Array();
4
2,066
thread by: SLR | last post Feb 17 '08 by: Evertjan.
I've been using JavaScript for quite some time now, and I've seen several techniques regarding file organization. This is the last technique I used on my last project: I created a "JS directory" for external JS files. I then created one global JS file for generic code that linked that all the web-pages imported. For any JavaScript code...
3
1,424
thread by: FAQ server | last post Feb 17 '08 by: FAQEditor
----------------------------------------------------------------------- FAQ Topic - How can I access the client-side filesystem? ----------------------------------------------------------------------- Security means that by default you can't. In a more restricted environment, there are options. For example, using LiveConnect to connect to...
9
5,761
hsriat
thread by: hsriat | last post Feb 16 '08 by: acoder
I have to toggle the name of a hyperlink from Edit to Save and vice-versa on click event of the same hyperlink. This is the HTML part, <input class="text" id="ix1" type=text></input> <a class="button" id="ax1" href="javascript:void(0)" onclick="edit('x1')">&nbsp;Edit&nbsp;</a> and function edit(id) is

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.