15,694 Topics
![]() | |
Hi all, I wonder if somebody can help me with this. I have this situation: I have a header div with a heading and when I click on it another div hiddenDiv slides down or slides up (I am using the slideToggle method). What I want to do also is … | |
//random number generator var theDecimal = 0; function newProblem(){ theDecimal = Math.floor(Math.random()*256); //math.floor chops off decimals and rounds document.getElementById("startNumber").innerHTML = theDecimal; } | |
Hi, why is it, when you [click](http://jsfiddle.net/WildWind/d7jhN/) "whatever", the string "hello there" isn't written with the ID#thename input box ? | |
hey guys so i have these drop down menu using ul and anchor and when i click on one an image should be displayed. the problem is when i click it the image appears but then disappears right after, like a second. html: <ul> <li><a href="" onclick="document.getElementById('banquetsix').style.visibility='visible';">6 Seater</a></li> <li><a href="">8 … | |
![]() | Howdy, I found that the symbol "<" can be encoded this way: "[\xC0][\xBC]" Can you tell me in which encoding standard does "[\xC0][\xBC]" belong ? Regards from Begueradj |
Hello. I have been doing research for about a week on form validation (JS, jQuery, CSS). I already have a nice form, but I need to add the validation elements. I'm a bit stuck. I know what I do and **do not** want with the validation: **Want**: * Clean, nice … ![]() | |
I want to load a completely new html page in a html via javascript <html> <head> <script> function load_home(){ document.getElementsByTagName("body")[0].innerHTML='<object type="text/html" data="test1.htm" ></object>'; } </script> </head> <body onClick="load_home();"> </body> </html> | |
java oriented with class help pls > # Heading Here # | |
I am trying to open a page as a lighbox- and I dont know why its not working- the url is https://www.townehomecare.com/services- where it says "read more" in the middle of the page, I want that new page to open as a lightbox, but instead it opens a regular page. … | |
JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both.... ![]() | |
I have a problem using many dropdown/select in which i needed to filter everytime i change the dropdown I dont know how to do this. for example: 1st dropdown is location *which I selected* **pasig** it should filter -> 2nd is bedroom which **pasig** has **3** data *1,2,4* it should … | |
Can you write within the script the new order of an array as a comment without the script actually using it ? Suppose I have an array of 10 items, then I push and unshift more items in the array, for myself or anyone else viewing the code I want … ![]() | |
Hey guys, I have a (probably) pretty simple task to solve, but no knowledge of web development whatsoever. My problem is, I need to create a website that computers and smartphones can connect to and have it display some image and text that are updatable from the server side at … | |
Hello. I am using an iframe in my page to submit a form to so that it can upload a file - since you can't do this through the jquery ajax function. I have everything working, but I want to be able to hide the iframe and get the content … | |
I'm currently working on programming a news site and I do not have sufficient experience in the jquery I want a news slider show like that on [this site](http://www.samanews.com/ar/) and thank you | |
Here is some javascript code ===> (function() { var infowindow; window.onload = function() { var options = { zoom: 3, center: new google.maps.LatLng(37.09, -95.71), mapTypeId: google.maps.MapTypeId.ROADMAP }; var i = 0; var marker; var btn = document.getElementById('btn'); var map = new google.maps.Map(document.getElementById('map'), options); var bounds = new google.maps.LatLngBounds(); var places … | |
Hello Webmaster, i have some problem before upload images.... this my code <style> .thumb { height: 75px; border: 1px solid #000; margin: 10px 5px 0 0; } </style> <input type="file" id="files" name="files[]" multiple /> <output id="list"></output> <script> function handleFileSelect(evt) { var files = evt.target.files; // FileList object // Loop through … | |
Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML … | |
Hi Guys, Is it possible to call the C# function from Javasript...... Sushil Kumar :rolleyes: | |
Can anyone tell what would be the correct syntax for **data** var ev = $("#update").val(); var up=$("#upload").val(); $.ajax( { data: ______, | |
"Checkbox1 Checkbox2A Checkbox2B Checkbox2AA --- hidden at first Checkbox2AB --- hidden at first" How will I implement this using javascript/jquery? When Checkbox1 is checked, Checkbox2A and Checkbox2B will also be checked. When Checkbox2A is checked, Checkbox2AA and Checkbox 2AB will be visible. | |
Hi All, I have 2 frames in one page which is left frame and right frame. May i know how to set the link to the jstree node which is located at left frame. When click on the node, it will reload the page at right frame without reload the … | |
hi please help me. i have a google map on my website, but i cant get it to zoom out to show the circle radius, and it seems to be zooming only to view the markers. how can i zoom out to show the radius of the map? see below … | |
Hey guys, I have a script that switches between tabs..It works perfectly, but what i am needing is a way for the script to stop when I have my mouse on the tab or content for the tab. I am using bootstrap and here is my [fiddle](http://jsfiddle.net/patk570/5hk6R/) with the working … | |
Hi I have dropdown list of domain names.Which is populated by mysql query(1st query). And when dropdown value is selected that value is used in another mysql query(2nd query). I've a submit button,when it is clicked.It is working perfectly. But i want to remove submit button and i need a … ![]() | |
I've written a small asp function that query's my database and returns data. I've tested the function and it does return the data correctly. I'm trying to figure out how I can then take that data and store it into my javascript array. I have this below but I can't … | |
Hello, I've been searching around internet for quite a few hours, but couldn't find a solution that would work for me. Site has 2 domains. I would like to do a logo image swap, based on domain that the site is accessed from. domain1 = image1 domain2 = image2 I … | |
I have a table residing on a MySql data base called Bookings. The Bookings table consists of a composite primary key based upon the following 2 fields: BookingDate & Booking Slot. On my website, I have built a bookings page which will consist of a a simple HTML Form, which … | |
Hello all, I need a multiple photo frames, on click the selected frame set on the image or image is set on it.Any jquery or javascript plugin is available for it ? |
The End.