15,688 Topics
![]() | |
I have created a checkDelete function to ask the user if he wants to delete the selected entries from a database. The problem is that choosing cancel still deletes those entries. This is the function: function checkDelete (){ var answer = confirm("Are you sure you want to delete the selected … | |
[COLOR="Red"]NB:Excuse me Experts,,,This is only for beginners......[/COLOR] [COLOR="Green"]JAVASCRIPT FOR CHECKING WHETHER THE TEXT FILED IS FILLED OR NOT[/COLOR] Be noted that 1.The form given above is just for example 2.You can add your own form,,please dont forget to chenge the names in assignments as you are going on your own … | |
how to just make same effect means same on cross browser.i just make one template in which there are images in IE6 background of images get something light white color. help me out! | |
Hello Friends , I m new in Javascript i m trying to validate two date coming in the format `DD-MON-YYYY` coming through `PopUP-Calendar` in two textboxes but unable to get required result I musing following function: <script type="text/javascript"> function check(){ var SDate = document.form.previous_date.value; var EDate = document.form.next_date.value; if (SDate … | |
hi all is it possible to find with jQuery an id that start with something, then a specific string, and then something. for example lets say that i have this divs [code] <div id="first_search_div1"></div> <div id="second_search_div2"></div> <div id="third_bla_div3"></div> [/code] i want to find this patern: *search* the result should the … | |
I am trying to pre-populate form selections by evaluating a string. I will import a dynamic string later, but wanted to focus on the search function. If the value has a match in the string then write "selected" in the input tag to select it for the viewer. What am … | |
I'm working with this form which has js calendar. unfortunately, I can't get the calendar to work onclick. It produces the following error: [CODE] Uncaught SyntaxError: Unexpected token [/CODE] can't make out the error. Not sure if this is related to another onclick function. Here is the actual code: [CODE] … | |
hi all i developed one application in .net which i've used both javascript (on button clicks) and jquery (using script manager) my problem here is i've disabled "Edit and Delete" buttons in my page when clicking the "Add" button so far the application worked fine with in my system (i.e. … | |
hi, to validate the name entered by user, i am using this expression "/^[a-zA-Z, ,]/". The name should contain only alphabets and space, if anything other than these two appear in the string, it should output alert msg. Is this expression correct? it is working fine only when numbers are … | |
HI, I am using Ajax,Jquery in my web application, the problem i am facing is, when i kept my page idle till the session expires and then if I click on any buttons above javascript exception is coming and page freezs with out doing any functionality such as OnselectedIndexChanged of … | |
Task 1 - DHTML in the example that you could show English and Swedish text, hold the pointer over two different links. This example illustrates the principles behind DHTML, but you will certainly find weaknesses: • When the page loads first time, both English and Swedish text. • When you … | |
I have a div tag, I want to print the content of it. I have done it using Java Script, but I am not getting the styles applied to different texts or textboxes into printout. I want to get the print with CSS styles. How to do it using Java … | |
How to get Gridview's row's client id using javascript in asp.net | |
Hello: I'm using this script as an auto resize function for an iframe, but can't get it to work [U]in safari. [/U] [CODE] <script type="text/javascript"> <!-- function calcheight() { var the_iframe = document.getElementById('paymentHistory'); var the_document = (the_iframe.contentWindow ¦¦ the_iframe.contentDocument); if(the_document.document) the_document = the_document.document; var the_height= the_document.body.scrollHeight;} //--> </script> [/CODE] to … | |
Hi, I've built a login box that uses ajax to verify a user's account. If something is wrong (ie. password and username don't match) it spits an error message out underneath the password field. I have two questions: 1. How can I get the box to resize automatically to fit … | |
Hi, all. This is using jquery by the way. I have a list of ethnicities on a form for a person to enter that are checkboxes. One option is 'Other, specify'. When 'other specify' is checked, I would like a text box to pop up and disable the other boxes … | |
HELP Please - I have hit a wall in trying to get the following perl created web page to work correctly. It is designed to find all the pictures (.jpg) in all folders below the designated one and to then display them in individual slideshows. I have a version of … | |
I have been tasked to learn basic JavaScript as part of my collage coarse, and i've taken this section if code from the W3C website and commented it out. Is my interpretation of what this script is doing correct? Im using this script as an example of how JavaScript can … | |
Hi, I am trying to use AJAX to do a simple thing of displaying the results in the same page. Clicking on the <a href tag should display the results in the same page. This is working correctly in IE but the onclick() function is not working in firefox and … | |
Write a program to find and print how many times the number 8 occurs in an array A. The array A should take as input as many values as the user wishes to enter. I tried this program......but still i didnt fix the problem. i wants to know the program … | |
<html> <head> <title></title> </head> <body> <table border="8" cellpadding="80" bordercolor="black" cellspacing="0" frame="border"> <tr> <td width="50%"></td><td width="50%">Welcome</td> </tr> <tr> <td width="50%"></td><td width="50%">Client</td> </tr> </table> </body> </html> i need urgent help on div floats, this are my codes the only thing missing is a div float in the middle.please help me, i have … | |
[CODE]<HTML> <HEAD> <TITLE>TMA 02 Q4(ii)</TITLE> <SCRIPT LANGUAGE = "JAVASCRIPT"> var loc; var weather; var name; loc = window.prompt('Please enter your location',''); weather = window.prompt(`Please enter the weather`,``); name = window.prompt(`Please enter your name`,``); document.write(`London`;` Snowing`;` Meriam`); document.write(`<BR>` + `See you soon`) </SCRIPT> </HEAD> <BODY> </BODY> </HTML>[/CODE] | |
I've been having problems with web browsing that I think may be related to Javascript. I use forum sites like [url]www.ernya.com[/url] and there I get logged out every few minutes/seconds. I've found that clearing my cache regularly seems to help a little, but it doesn't fix the problem. Other forum/avatar … | |
![]() | Hi, I would like to set the dimensions of an iFrame according to the content inside. Please bare in mind that the content inside will be based on ajax, so it will change without the page reloading. Thanks, Ashton. |
My JavaScript code works in all browsers except ie, I am not sure why. Any help is appreciated, Thank you. Website is [URL="http://illcomputers.comyr.com/custom.php"]http://illcomputers.comyr.com/custom.php[/URL] Javascript File[URL="http://illcomputers.comyr.com/scripts/lowendcost.js"]http://illcomputers.comyr.com/scripts/lowendcost.js[/URL] JavaScript Code [CODE] function updatecost1() { const keymouse = 40; const Case = 55; var data = document.getElementById("data"); var seldata = data.selectedIndex; var cpu = … | |
here's a little test I want to do: in the main html I simply want a text input, and a submit button... when I type something in the input and click 'submit', it calls a function that generates an html with: [CODE] <html> <head><title>JS Generated HTML</title></head> <body> //(text in input) … | |
Hi. I have question regarding jquery. I would like to know is it possible to put two href into one therefore i can use two different css for one jquery? [CODE] <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.6.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"></script> <link rel='stylesheet' type='text/css' href='../fullcalendar/fullcalendar.css' /> <script type='text/javascript' src='../jquery/jquery-1.4.4.min.js'></script> … | |
Hai Fellow Developers, I have one problem and appreciate if any of you could guide me on this. I created a custom Paypal button with some Javascript and AJAX. Why with AJAX? Because the script have a coupon acceptance code where i need some validation using AJAX. The problem is … | |
If the following function performs calculation [CODE] <script type="text/javascript"> function updatesum() { document.PaymentForm.newbalance.value = (document.PaymentForm.balance.value -0) - (document.PaymentForm.paymentamount.value -0); } </script> [/CODE] How do I incorporate above function and the one below into one to thus do the calculation and round the number? [CODE] <script type = "text/javascript"> function roundNumber(num, … | |
hey! guys i am not able to use the attribute word-wrap:break-word; many ppl say its compatible only in css3 . :( i want to know an equivalent tag for that in css2 .. |
The End.