15,120 Topics
| |
If someone managed to execute a remote code by exploiting a browser vulnerabil,can or can't a good AV stop it? 1.does the code run under the process name of the browser so AV wouldn't block it? 2.or as a separate process so av can detect and block it if it … | |
Hi, Daniweb I'm working on a website where i did a search system and then i listed the results founded. And now i want to move them with JQuery Sortable. But i'm having dificults can someone help me please? Here's the code: <?php require_once('Connections/futura.php'); ?> <?PHP $prod=$_GET['q2']; $query_prod="SELECT * FROM … | |
| I have a calendar code that contains a table with the td for days of the month as follows: <td class="event"> <div class="eventList" title="Events For Today"> <ul> <li>Event 1</li> <li>Event 2</li> </ul> <br /> <a class="anEvent" href="#">[myDateHere]</a> </div> </td> *[myDate] refers to the day of the month... At the bottom … |
Here is the code copied from w3schools ([url]http://www.w3schools.com/ajax/tryit.asp?filename=tryajax_suggest):[/url] [CODE]<html> <head> <script type="text/javascript"> function showHint(str) { if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState == 4) { … | |
I have looked at quite a few posts on the issue and there seem to be several ways of doing this which is causing me confusion. The validation errors are popping up properly but the form is sent without entry in the form fields. I have tried a few different … | |
i have a error in this program...i m tryin to write a java GUI program that converts character to corresponding integer and vice versa...tis is my code...can anyone help me solve the error???the error is : 1 error found: File: C:\Users\Kumaresen Nair\Desktop\Conversion.java [line: 58] Error: The local variable word may … | |
Let's debate about the flaws and the benefits of Javascript and HTML/HTML5 and how effectivaly they work together. Lets also talk about what improvements you would like to see in future developments of both. i would love to see every ones opinions. | |
following is my code,It need to include function on index.php. But, I want to make it **counter.js** I tried my best but I failed to make that. can anyone help me? <script type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script type="text/javascript"> // JavaScript Function $(document).ready(function() { $('.slogan_main').slogan_main(); $('.slogan_social').slogan_social(); $('#social_media').social_media(); }); $.fn.extend({ social_media: function() { return … | |
Hi, I'm getting `this.form undefined` error message when I submit it. Do I miss anything? Thanks function signup_scramble(uid) { alert(uid.value); return false; } <form action="do_signup" method="post" onsubmit="return signup_scramble(this.form.text_username)"> Username : <input type="text" name="text_username" value="" /><br /> Password : <input type="password" name="text_password" value="" /><br /> <input type="submit" name="submit_button" value="Signup" /> </form> | |
Hi, Am using index page with the iframe and redirecting to the login page(login.html). On going to the page, index.html, am getting redirected to login.html. In login.html, it's ask for USERNAME and the PASSWORD. On entering, wrong username or the password, my iframe size keeps on decreasing on each submit … | |
Hey I want to declare a variable that is global that I can use (and modify) all over my website. Ive read that I may be able to do it with jQuery but not sure how to (more importantly, where). Its a simple text field, nothing else. Specifically it must … | |
Hey all, writing some code but keep getting a javascript related "Not Implemented" error. The code is window.onload=setTimeout('loadAll()',10); The code works fine but the error is annoying in that "An error has occured.." keeps popping up. Oh how I love cross browser coding. Anyways, any input is appreciated, thanks! | |
Hey Let me see how I describe this.... I have a textbox (inside of a form) and that form also has a button that calls a Javascript function that does some unrelated stuff. This is all inside of Lightbox. I want to be able to type in text in that … | |
Hello all, Im new here and looking for some advice re the google maps javascript API (which im also pretty new at) The background: I have managed to get some pages that use the googlemaps interface up and running add markers to them etc and allow the user view directions … | |
Hey everyone, Does anyone know of any good JavaScript 3D charts? I found a Pie chart that works pretty nicely (http://keith-wood.name/gChart.html), but now looking for a 3D bar chart. Thanks, Cassie :) | |
hi i have this variable which looks like this ؛‎ ‎002005 And i want to split it into two halfs three each . What i want to do is to put the first 3 numbers in a new variable and to remove its starting zero padding to get only 2 … | |
Does anyone knows how to make a particular website their default home page when they click the button "Make this site your homepage" using javascript. This sample code works in IE, but other browsers doesn't know this code. [CODE] this.style.behavior = 'url(#default#homepage)'; this.setHomePage('http://localhost/getuptodate/php/getuptodate.php'); [/CODE] Could someone help me in figuring … | |
I have a jsp page which has post comment box. I have written a servlet which takes a comment from the text area for the comment box and writes the comment to the database and redirects all the comments stored in the database to the page for display(using request dispatcher). … | |
I have a php file lets say file1.php, that printing a variable, its dynamic numbers output that already always increasing, like private message numbers that coming or others : <?php echo $variable ?> i want to put that variable output, in another files page title, lets say file2.php or file3.html, … | |
I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> … | |
I made a box in css and what i want that box to do is basically spin. However, I need the slider to control the speed of the box. I dont know why it doesnt work. Can someone help me please? This is my html code <!DOCTYPE html> <html> <head> … | |
Hi, I want to download file(pdf) using save dialog when user clicks a link from Html Page. There is html page where i used anchor tag to open a PopUp window(aspx form) where user will enter his details and submit the details which will save in database.After submitting the details … | |
Hi, i am trying to add some realtime form validation for my registration page, however only my email input is displaying the either correct or error output that it should, and neither my username or password are, I have tried for the past couple of hours to see what is … | |
Hello, I'm working on an image-gallery type application and I have got the images to work, in that the gallery works and the image changes at the particular interval. BUT, I need a way to stop the images changing when you mouse over the event. Here is what I have … | |
When you assign an element of a window to a variable with getElementById() or getElementByName(), that variable is referring to an Element Object that is a property of the Window Object. This behavior is not true for frames, however; the value of the name or ID of a frame element … | |
When you assign an element of a window to a variable with getElementById() or getElementByName(), that variable is referring to an Element Object that is a property of the Window Object. This behavior is not true for frames, however; the value of the name or ID of a frame element … | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script type="text/javascript" src="http://www.appelsiini.net/projects/jeditable/jquery.jeditable.js"></script> <script type='text/javascript'> $(document).ready(function(){ $('.edit').editable('save.php', { id : 'name', name : 'newvalue' }); }); </script> <ul> <li>Name:- <div class="edit" id="name"><?php echo"$name"; ?></div></li> <li>Surname:- <div class="edit" id="surname"><?php echo"$surname"; ?></div></li> <li>Login ID:- <div class="edit" id="login"><?php echo"$login"; ?></div></li> </ul> *newvalue=user edited content id=elements id* This is my code … | |
Hello, i have this piece of code that counts the number of words in a td based off the class of the td. It works find if all the words inside the td's are the same, but if i change one, it doesnt work. <html> <head> <script type="text/javascript" src="jquery.js"></script> <script … | |
hello guys! am trying to put time on my website, and i want the seconds to be changing each time, but untill you refresh page! i've tred using the setTimeout() method, but to no avail! help please. this is my code: // Page Times JavaScript Document window.onload = initDate; var … | |
hi guys... i really need help on this one... i try to put a form like this <script> function checkuser() { var xmlhttp; if(window.XMLHttpRequest) { xmlhttp=new window.XMLHttpRequest(); //for mozilla } else { try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } xmlhttp.onreadystatechange=function() { if(xmlhttp.readyState == 4 && … |
The End.