15,120 Topics
| |
Hi, I am trying to create an application which utilizes the distance finder. I want to be able to calculate the distance between two points. I have managed to (with the aid of a lot of tutorials) be able to calculate the distances between two points. Now, in the application, … | |
Hi I have 5 div tags in my html page and there is a print button. when i click on the print button it has to print only a particular div. for example it has to print the 2nd div which contains some personal information. It should not print the … | |
Greetings, I am looking for suggestions and feedback about needed bandwidth from a Web hosting company (thinking of VPS or Dedicated) for my websites. Earlier I had asked about how to insert thumbnail (live) images, if possible, of other websites so that users can see a preview (live) of the … | |
Hello, My HTML+JS : <head> <script type="text/javascript"> function passList() { var p=[]; $('input.first').each( function() { if($(this).attr('checked')) { p.push($(this).attr('rel')); } } ); $.ajax( { url:'process.php', type:'POST', data: {list:p}, success: function(res) { $("#result").html(res); } }); } function passType() { var q=[]; $('input.second').each( function() { if($(this).attr('checked')) { q.push($(this).attr('rel')); } } ); $.ajax( { … | |
What option for cURL needs to be changed in order to retrieve the XML content, as I have added the curlopt option for xml content but all that happens is the JS error of "no data received" <?php $agent = $_SERVER["HTTP_USER_AGENT"]; $timeout = 5; // set to zero for no … | |
Can someone help me with my codes about the log in using javascript, everytime i log in it opens a new window for the homepage, but i want it to be in the same window, thank you :D <html> <head> <title> Login page </title> </head> <body background="black_background_metal_hole_very_small-wallpaper-2560x1600.jpg"> <h1 style="font-family:Comic Sans … | |
needing help with homework - calculator using javascript i need to grab the text from the <input> and use that number in the equation. <script> function runMe(){ var x == document.getElementById('input1').value; document.write(x); } </script> <body> <form> Enter number <input type="text" id="input1" value=""> <input type="submit" onClick="runMe"> </form> </body> | |
Chaps, I run into a strange problem today for the first time. Basically I have a web page that users can print using a print button on the page itself, but what I want is them to be able to print a print-only version of this page. So, I wrote … | |
Hello, I'm working to cellphones spec script. Now I want to create a sidebar with several checkboxes that filter result using ajax. Someone can help me to create this? | |
Hey, I could sure do with some help on this... Been pulling my hair out. I have a single HTML file with various page transitions - I am trying to solve the coding issue to allow me to have four new blog pages - but that all default to the … | |
I'm about 80% into my first attack on JQuery/AJAX... how would one correctly write this function: function reloadResponses(){ $('#responses').load('pages/community/load-responses.php?id=<?php echo $id;?>'){ window.setTimeout(reloadResponses, 10000); }; }; I would like to reload `<div id="reponses"></div>` every 10 seconds. Is this the best way? I am currently using this to reload the div every … | |
I am looking into blogging technology, specifically using XML files to hold blog posts and reading them into a webpage using Javascript. I have been looking at the w3schools website for bits of code but for some reason my application does not display the content on the screen. My code … | |
Hello friends. I have a php form and using ajax/javascript function to do get request. In form, there is a field name and checkbox, and In java script I have to get the fied name, check if the check box is clicked or not and add the paramater to url … | |
Hi there, I am working on a chart generator application and I'm using google chat as a chart tool. You have to pass different parameters to chart script that you want to show on chart. I want those parameters to be dynamically change. Say there are 20 different parametes showed … | |
Hi,currently i m developing a PHP Cart. I have a php function is call product option value. When Admin adding product ,ajax will load my php function without refreshing page to allow admin to select the option like color,size etc. In my php function got no any submittion data but … | |
i am using ASP.NET and i am able to detect the close the tab where's the `<body onunload="xxx">` but i don't know inside the xxx method how to window.open to another page with new window. | |
We have this code, thanks to a helpful person but it does not fully work as expected. The problem is that it currently checks for an exact match of dates, but there are situations of times that overlap one another and that should show a conflict too (background becomes red … | |
QUESTION: My need is to include a specific datepicker for EACH form when a specific button is clicked. Im not sure whether what im doing below in the jquery portion of the code for the datepicker is correct? Can someone please guide me with this? Thanks DETAILS: I am currently … | |
How can I prevent a XSS attack but allow user to post iframe and img? My page is php based but I allow users to submit text and have allowed only iframes and imgs with strip_tag How do I prevent a user from launching an xss attack? | |
Hi, I am using jquery tabs for displaying data.And while displaying the data in the tabs I have to use ajax again to display data. The data in the first tab is giving the desired result. But when I click on the second tab. The tab is loaded correctly. But … | |
I was wondering if I could develop a comment section where people would post comments without using php or asp. The only thing that i would like to use ih javascript, html, css, ajax and things like that. Is this achievable without the usage of php or asp? | |
Design a form for students to enter the grades (A, B, C, D, or F) of five classes (I will enter class names in designated areas); use textboxes. After hitting the “Calculate” button, the result (average) with a message should be displayed right underneath the form. If the average is … | |
Hi all, quick question about a website I am about to build. Basically, somewhere on the homepage, presumably quite far down closer to the footer I will have a div with two clickable tabs: when clicked they will show different content but the url of the page needs to stay … | |
I'm trying to build google+ sign in feature. I'm able to get all the user data from google+, how can i insert this data into database? I know js is client-side language and it is needed to be done on server side....... my code: <span id="signinButton"> <span class="g-signin" data-callback="signinCallback" data-clientid="My-client-id" … | |
If you were to build a fairly complicated website, and you wanted to add features like instant messaging (one to one and multi-chat like a chat room, and possibly if the site becomes profitable enough, voice/video chatting) and you wanted to be able to store these chat sessions, would it … | |
I am using a simple ajax routine to notify a server of click thrus. This routine passes information about each link on a page when it is clicked to the server which logs information about the click thru. The code works fine unless the CTL key is pressed as someone … | |
Hi Guys! I'm building a site on html,javascript/jquery and css. i have links on the left side of the page (home, contact etc) which clicked displays appropriate and content on the right side. its (20:80) ratio. i have a javascript file that controls the display of the content: $(document).ready(function() { … | |
I need urgent help. I need ONLY select ALL button for my code: if($_POST['SmartPhone']==false and $_POST['Apple']==false) { $this->add(new error('<span style="color:red">Select your cell..!!</span>')); $this->step1(); return; } if(isset($_POST['S4'])) $tech2=$_POST['S4']; $form->add_checkbox('S4','S4',$tech2); if(isset($_POST['iPhone 5'])) $tech3=$_POST['iPhone 5']; $form->add_checkbox('iPhone_5','iPhone 5',$tech3); if(isset($_POST['iPhone 5s'])) $tech1=$_POST['iPhone 5s']; $form->add_checkbox('iPhone_5s','iPhone 5s',$tech1); //In addition, i want to know how to put "Select … |
The End.