473,804 Members | 3,447 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.
1
1,104
thread by: zoobave | last post Feb 4 '08 by: gits
Is it possible to perform AJAX operation without using javascript(using some other scripts)? Regards, Zooabave
5
2,054
thread by: doharr | last post Feb 4 '08 by: gits
I have a simple frame set up. With a header box containing the logo, and two columns underneath, the working part. In the left side there is a form box to enter request into. The request will be names of colors like; red, purple, yellow, blue and others. Once the name of the color is entered into the box, and enter is hit, the desired color is...
9
10,258
thread by: rakeshvthu | last post Feb 4 '08 by: acoder
hi all, we have a requirement to disable shift click and ctrl click. i have code: document.onmousedown = shiftEnter; function shiftEnter(e) { if (event.shiftKey) {
1
4,787
thread by: gopim | last post Feb 4 '08 by: acoder
i write the code like this function show() { var subject=document.getElementById('<%=ddlsubject.ClientID %>'); var txtsubject=document.getElementById('<%=TextBox1.ClientID%>'); if(subject.value=="Other") { txtsubject.style.display = '';
1
1,802
thread by: asdfgh | last post Feb 4 '08 by: acoder
I have created an OCX in Visual Basic 6. This ocx contain one function that returns string array. If I use this ocx in Visual Basic project, it works fine. When I try to use same ocx in ASP, and call function in JavaScript, the problem occur. The javascript code is as bellow RFS is object of ocx I have created function testArray() {...
1
1,175
basstradamus
thread by: basstradamus | last post Feb 4 '08 by: acoder
Hi Does somebody now how many kB can I send from server to my browser using AJAX ?
1
1,665
thread by: Enos | last post Feb 4 '08 by: acoder
Hey all i'm new to this forum and also a little new to using css and javascript. I found this code on the web for a dropdown menu but for some reason whoever made it doesn't have it so that when you are not moused over the first tab, the second level disappears. I was just wondering if anyone could help me out here. Here is the js:...
1
3,673
thread by: dev08820 | last post Feb 4 '08 by: acoder
I have a javascript function that disables the hrefs on a page by assigning "#" to each href. Th eneed to do so is to disable links in a print preview window. The print preview window contains only page content and not navigation, etc. This works fine in IE6 but not in FireFox 2.0.0.2. In Firefox, the link always contains the current context or...
1
1,168
thread by: badmp3 | last post Feb 4 '08 by: acoder
Hi ... im very new to coding and im trying to get a simple script that will change the page in this example Url http://www.abcd.com/Switch.asp?page=page Basically what i need to figure out is to take page=page and make a javascript to do something like page=2 or page=3 and so on based on a solid number. I know there is 50 pages...
1
2,158
thread by: hcvitto | last post Feb 4 '08 by: acoder
hi does anyone know some good and clear tutorial about pagination of php pages and ajax? i'm a newbie of all this stuff.. this is my page (i'm working on pages previously coded only with php, therefore i'm trying to do the transition from php to ajax :) http://office.azero.it/fitoben.it/prodotti/prodotti.php?q=pb thanks Vitto
1
1,538
thread by: Dooboise | last post Feb 4 '08 by: acoder
Hi. For my website, I'm trying to develop a JavaScript that makes a div appear. I have found several samples that toggle a div back and forth between visible and hidden, but what I need is a bit different. Here's the scoop: I have a series of thumbnail images. What I'd like to happen is that, when a user clicks, for example, Thumbnail Number 1, an...
1
2,801
thread by: johnjone | last post Feb 4 '08 by: acoder
I have a snippet header here: Content-type: multipart/form-data, boundary=AaB03x --AaB03x content-disposition: form-data; name="field1" Joe Blow --AaB03x content-disposition: form-data; name="pics"
1
1,130
thread by: danasegarane | last post Feb 4 '08 by: acoder
Hi all, I have N checkboxes in my table.If I click any checkboxes, the other checkboxes in the tables are to be unchecked, and the current one to be checked. How can I? Thanks Dana
1
6,503
thread by: nafe | last post Feb 4 '08 by: acoder
Am trying to implement a shopping cart in java script which is using cookies. I have a form consisting of itemID,quantity and price. these are details that the user has selected. below is the code with two functions setcookie called from a button click event and getcookie called from link click event.But nothing is happening.Could anyone help me...
1
1,854
thread by: JagPeram | last post Feb 4 '08 by: acoder
Can Anyone tell me how to upload file using ajax with struts framework?
1
1,068
butro
thread by: butro | last post Feb 4 '08 by: acoder
I have a javascript menu and i have a problem with this menu. When i use this javascript menu in a form which includes select objects, my menu goes under this select objects. My menu has a transparent property but it does not work when it expands over select objects and goes behind select objects. Is there any way solve this problem ? I'm...
1
3,809
Cristian Pinheiro
thread by: Cristian Pinheiro | last post Feb 4 '08 by: acoder
Hello guys, I was playing with Image Thumbnail Viewer (ITV) and found one problem, see http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm for more details and how it works. Now the problem is that the ITV gets executed for the first time on document's onload method. When the page has few thumb images there are no problems. But when...
2
10,077
thread by: nussbac | last post Feb 4 '08 by: acoder
Hi I suspect this is not possible, and perhaps someone will explain why, but does anyone know how to capture the 'PrintScreen' keystroke (and/or the 'Ctrl-PrintScreen' event)? I would like to be able to do this in IE6/7, and FF2 would be 'nice to have' but not essential. Other browsers are not relevant. I would like to trigger a small...
2
4,886
thread by: psmukilan | last post Feb 4 '08 by: gits
How to draw a rectangle using Javascript on the aspx page. This is like a selector control box. from the point of Mouse down till we release th mouse, it should draw the rectangle. Just like selecting all the items under the rectangle. Drawing a rectangle is not a problem, but the size has to stretch both vertically and horizontally in equal...
1
1,117
thread by: J Smale | last post Feb 4 '08 by: gits
Greetings folks, I have been trying for sometime now to figure out what I am sure is this very simply problem. I have been unscuessful in finding the answer though so if anyone can help I would definitely appreciate it. Below is the code I am using, however it doesn't work for me and I know it is coming from the code inside the for loop as it...
1
1,556
thread by: orico | last post Feb 4 '08 by: gits
Hello all, I have a few '<input type="text" />' controls on my ASP.NET 2.0 generated page. Every text-box control has it's specific tab-index. When I try to move focus to this specific text-box control on this page the focus is shifted to the window element instead of the control itself. On every other text-box control on the page the focus is...
3
4,288
thread by: crater | last post Feb 4 '08 by: crater
Today I ran into a problem that had me completely baffled. A function that I have just written, processes data in any one of 4 different data grids. Within a for() loop I need to call another specific function depending on the grid being accessed. To do this I construct the function name from a variable and a literal string. No problem yet. ...
1
1,311
thread by: kigoobe | last post Feb 3 '08 by: kigoobe
Well, I'm having a select drop down like this - <select name='xnum' onchange="callme(value,0,1,3)"> <option value='0'>0</option> <option value='1'>1</option> <option value='2'>2</option> <option value='3'>3</option> </select> The function callme is like this -
5
2,187
thread by: Charles | last post Feb 3 '08 by: Charles
Hello, I have a common company web site with the home page, products, services, about us and contact pages. I'd like to preload the 4 other pages in the background when I access a page to make the site faster. I already preload images properly. I thought about using a 1x1px iframe but it's not very nice. So I tried considering .html pages...
1
2,446
thread by: asafok | last post Feb 3 '08 by: mrhoo
hi, i'm tring to get access to a cell inside a table that has the vlaue of an Email address but is not clickable. i tring to go to that cell and Wrap the inner text with <a href="mailto... tag so it would be clickable. i tried to use this code: x=document.getElementById('GridView1').childNodes.childNodes; but with no luck,for some resone i...

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.