473,785 Members | 2,842 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,504
thread by: Jeff | last post Mar 27 '08 by: pr
I've had a look at this: http://tinymce.moxiecode.com/example.php?example=true What makes that tick? It looks like a textarea set to display none and maybe an IFRAME on top. Is this capturing keycodes and loading them in? Something else? Jeff
6
1,068
thread by: firdzz | last post Mar 27 '08 by: firdzz
Hi! I'm quite new with this web development. I have a problem to validate a form that if the user selected 'other' in the dropdown list, they need to key in something in another text field form. Here's my javascript: if (theForm.University1a.value == "Other" *can we put something here?* theForm.University1.value == "") { ...
6
1,791
thread by: manifestcomms | last post Mar 27 '08 by: manifestcomms
Hello, I have a form which requires the fields to be valid before the buttons become active. In particular I am having a problem with the email address field. The form is written in PHP using a print function but thats not relevant to my problem. (I am just telling you so it makes it easier to understand why I have used escape chars around...
2
1,121
thread by: Shisou | last post Mar 27 '08 by: aswath
Hello everyone, I was wondering how i could call a function in a .js file from my html document. the call is going to come from a onchange event. Any help will be appreciated.
2
9,018
thread by: veronicab | last post Mar 27 '08 by: mrhoo
Hi, I have a small JavaScript code in a page to trap when user presses Return key. My problem is that if you visit the page and then enter a different url in address field, and press Return, that key press is also being captured. How can I distinguish when user is pressing Return on the address field in address bar? Works ok on IE, the...
8
5,608
thread by: ananjy | last post Mar 27 '08 by: ananjy
Hi when i m trying to execute my ajax code using a link to display datas from another page named second.php., i got an error when the page loads in "ie"., which runs perfectly in firefox., here is my code <script type="text/javascript"> var i;
6
1,840
thread by: Omicron | last post Mar 27 '08 by: Omicron
Hello, Can someone lead me in the right direct with this request: Please look at the piece of code below: <table summary="Sort Buttons"> <tr> <td> <input onclick="justSong_filter()" type="button" value="Song Search" / <input type="text" id="newSong" /> </td>
2
2,313
thread by: java | last post Mar 26 '08 by: Richard Cornford
Hi: There is an introductory diagram for those confused by javascript type wrangling (i.e., runtime type conversion by the javascript interpreter). http://mollypages.org/misc/jstypes.mp It's not comprehensive but covers most common scenarios.
4
1,975
thread by: myscript | last post Mar 26 '08 by: ronverdonk
Hi All, Is there any way to open a text file and interpret the contents through java script? Thanks Deepak
1
1,770
thread by: Coladude | last post Mar 26 '08 by: johnhjohn
Hi, I´m building a form and decided to throw myself at some Javascript, even though im definetely no expert. Thats why i now need help :-/ I´m building a fairly simple HTML form where the user types in data about himself. One of the form fields contain the number 0 which can then be changed by the user manually (which then results in some...
4
6,054
thread by: pablorp80 | last post Mar 26 '08 by: pablorp80
Hello, Here is what I need: I need the focus and the cursor set to a textbox named txtGT, every time no matter if it is the first page load or whether it is a postback. Here is the problem: I am using AJAX and MasterPages as well as an update panel, the textbox is in a panel. I have tried to do it using different java scripts but I can't...
3
3,556
thread by: arggg | last post Mar 26 '08 by: acoder
I have a form in PHP that needs to be processed by the same page. I have ajax calling the page and parsing the data however I cannot get the POST data to be sent via AJAX to the PHP Page. I found this site which gives me an idea that you need to setup the $_POST methods as what looks like a GET then you send the information to the PHP page which...
1
950
thread by: neerajg | last post Mar 26 '08 by: acoder
Is tooltip implementation over imagemap supported in dojo 1.0.2 ? Which version of dojo supports this? And how can i use it in a graph?
1
1,409
thread by: anonymousstar | last post Mar 26 '08 by: acoder
Hi Everyone, I am creating a search facility that holds titles and SKU numbers. When the results appear in a 2 column table I would like the title to go into an input (readonly) field and the SKU to go into a different input field. I have the code below to help visualise what I am trying to do. I think what I want is similar to a calendar...
1
1,138
thread by: teuku | last post Mar 26 '08 by: acoder
I use javascript wondow.print on my web page (using PHP). but right before the script execute the window.print(); their will be a popup window that shows the information of my active printer (printer dialog box) -- in the mozilla browser, try to clik CTRL+P,if you dont understand what I mean. is their anyone can show me a script to disable it,...
1
1,713
thread by: scottrichardson | last post Mar 26 '08 by: acoder
Hi guys. Great site. This site has helped me many times before. But now I have a question to which I am yet to find an answer. In a nutshell, I need to know how to check if a URL GET variable has been set, and if it has, to set the style of a DIV to display: block; for instance: www.scott.com/competition.aspx?mode=entry so.. the GET...
1
1,547
thread by: prasad9490024564 | last post Mar 26 '08 by: acoder
Hi Team, We are developing crossbrowsing type application with asp.net2.0 In my page i am having server side label control <asp:Label id="Label1" runat="server" Width="100px" >I am quite a bit of text, overflowing and making my label wrap. If I could set the width on this control, I’d be mighty happy. ...
1
4,908
thread by: appleseed | last post Mar 26 '08 by: acoder
I'm having some problems on IE with a small editor I'm building. The source of the problem is the following: Consider having an iFrame with designMode="on" in which you select some text. When clicking anywhere in the page (outside de iframe), the iFrame looses focus and selection. However, this doesn't happen for images. When clicking on images...
1
3,711
thread by: abhishekbrave | last post Mar 26 '08 by: acoder
The code below is opening a calendar on mouse over in the same window. I need the calendar to be opened in new window. Have to fulfill this requirement urgentely so posting the whole code here. I tried doing some workaround using window.open() but not getting the calendar in new window. <html> <head> <script language="JavaScript">
4
1,627
thread by: yuvaly | last post Mar 26 '08 by: iam_clint
Hi I want to Query a database using AJAx and display the results in the middle rows of an existing table. right now the server builds rows and return them to the main page, but I don't know how to insert them to the right spot. basically, I look for a function he inserts a string before /after some row in the table . in the pad I have:...
5
1,397
BradleyJS
thread by: BradleyJS | last post Mar 26 '08 by: acoder
Hi I have an assignment for school and i was just wondering can someone help me to complete it correctly. It is a memory game that has a timer included and i have got a play button that when clicked it activates function init(); (this function scrambles up the memory pictures and starts the timer). I want to add a pause button which when...
8
2,632
thread by: moona | last post Mar 26 '08 by: acoder
i have made a web application using javascript and php having user authentication using sessions and databses. When user signs out of the site and clicks on the back button he can still go to the previous pages which he should not since he has logged out. What should i do to achieve that? Regards, Mona
9
2,722
thread by: sunita jadhav | last post Mar 26 '08 by: acoder
my question is if i type in html textbox on key press event suppose i type 12345 values in textbox then i delete or edit any value of text box suppose i edit 3 and i insert the value 6 at 3 but i have face problem that is if i insert 6 at 3 this value is not insert at 3 it insert last positon i.e after last value .In given example the value is...
7
2,637
thread by: sammus | last post Mar 26 '08 by: acoder
Hi, Ihave a requrement where I need to keep selec box in open state when a value in second box in "NO' Is there a way I can keep select box in open state? Thanks
1
2,004
thread by: Nelson Joseph | last post Mar 26 '08 by: gits
Hai all, I would like to create an XML file using JavaScript. Is it possible? Please tell me how can we create? Thanks in advance. - Nelson

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.