15,120 Topics
| |
| Hi, i recently created a bit of script to pull images from a database and display them horizontally using a scroll bar. i have now decided to try and integrate it with jquery to give it a bit of life. At first, i use the jquery plugin to use 5 … |
Hi Everyone, I created a script where rows gets cloned, then I created a script to check if a specific code exists in the database. This all works fine. My problem is my status message when a code exist, it shows on the first row but not the rest. I … | |
Fulllscreen div misbehave on window resize. [Demo](https://jsfiddle.net/y2d7dbod/) **fullpage** is main container having fullscreen height & width. **section** is inner div of full height & width. When window is resized after scrolling to any div it leaves some space from top. How to make it responsive & scrolling fullscreen page? (section … | |
I am currently working on using Javascript arrays to swap images for rollover buttons. This was working perfectly for one build about a week ago. That is, I am working on something else now and tried to use the same code that worked for this - it's broken now; -A … | |
Hi All, i am use the follwing code work fine, how can i make id for each row in table or div id so only row show which i req. [CODE]<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script> <script type="text/javascript"> $(function() { $('#toggle3').click(function() { $('.toggle3').toggle('slow'); return false; }); }); </script> </head> <body> 1313 </body> </html> … | |
Hi All, Relatively new to JS, but something strange is happening. I have one function: var commentContent = $('textarea.comment-box#comment'); commentContent.keydown(function(e){ if((e.keyCode || e.which) == 13 && !e.shiftKey && commentContent.is(":focus")) { e.preventDefault(); commentForm.submit(); } }); Which works absolutely fine. If the object is focused and I press Enter, the submit function … | |
| |
My code is: var customIcons = { restaurant: { icon: 'http://labs.google.com/ridefinder/images/mm_20_blue.png' }, bar: { icon: 'http://labs.google.com/ridefinder/images/mm_20_red.png' } }; function load() { var map = new google.maps.Map(document.getElementById("map"), { center: new google.maps.LatLng(37.4805016667, 126.952741667), zoom: 12, mapTypeId: 'roadmap' }); var infoWindow = new google.maps.InfoWindow; // Change this depending on the name of your … | |
Hello, everyone. I need help with something, and I am hoping that someone could point me in the right direction. Since I am not sure what the technique is called, I will try to explain what I need to the best of my ability. I am trying to create a … | |
Im using the youtube api to search for videos. The information gets displayed perfectly on the page similiar to the youtube page layout. I have a function that when each div is clicked it will create an iframe fixed to the top of the page playing the video that was … | |
I need jsp function for search data(text) inside a html table. not a my sql table. ex: inside a table "<table><tr><td>some text here</td></tr></table>" i have several text. i need jsp function to search one of the text and highlight it with the position where the word is. or can u … | |
I want to mark some data on google map. I use eclipse Java EE and xml file is in the same workspace;(workspace_jsp). xml file: <csv_data> <row> <time>10:01:43</time> <latitude>37.4805016667</latitude> <longitude>126.952741667</longitude> <pdistance>0.000555</pdistance> <totaldistance>0.000555</totaldistance> <sectionspray>3343.0</sectionspray> </row> <row> <time>10:01:57</time> <latitude>37.4807483333</latitude> <longitude>126.952753333</longitude> <pdistance>0.027396</pdistance> <totaldistance>0.027951</totaldistance> <sectionspray>3320.0</sectionspray> </row> my code is <!DOCTYPE html > <head> <meta name="viewport" … | |
My problem currently is that I am trying to call a function with jquery at a specific event but it is running at the wrong event. The function I want to call is: function resolvedAjax(tid){ $.ajax({type: 'post',url: 'resolveTicket.php',data: 'tid=' +tid, success: function(s){ $('#resolvedTicket').html("Resolved"); mainTable(); }}); } I am trying to … | |
Hey guys, I'm trying to reupdate a web application that I have going on right now. Originally, I had a php page connect to a database and have a dropdown menu with the list of user id's. When you select the user id, you can submit it and you will … | |
Hey guys, I am trying to figure out a few things right now. 1. Is it possible to do a nested checkbox where there is the main checkbox and then two tabbed checkboxes that are related to the main one and when the main one is checked, the other subcheckboxes … | |
I have a basic question. I collected some gps signal to some columns by python code. I want to read them and use some data in html-javascript. In this case, what kind of file is the easiest to read and use in html/javascript?? I made a text file but people … | |
Hi guys, I have a form which contains a file upload input field. When I select a file, mainly text files, the actual content of the file is displayed in a textarea field. Now, what I need to do, is to send that information - the data contained in the … | |
hello. i have a problem where i cannot view admin console recaptcha. i want to get the recaptcha in google in php. but i cannot view the admin console to get the recaptcha. is it because i use Windows 10 or my chrome browser have a problem? please reply. urgent | |
I made a json file and its contents are like these. [{"pdis": "pdistance", "time": "time", "lon": "longitude", "tdis": "totaldistance", "secsp": "sectionspray", "lat": "latitude"}, {"pdis": "0.000555", "time": "10:01:43", "lon": "126.952741667", "tdis": "0.000555", "secsp": "3343.0", "lat": "37.4805016667"}, {"pdis": "0.027396", "time": "10:01:57", "lon": "126.952753333", "tdis": "0.027951", "secsp": "3320.0", "lat": "37.4807483333"},~~~,{"~~~~~"}] I want to … | |
i have error like this : DataTables warning (table id = 'datatables'): Cannot reinitialise DataTable. To retrieve the DataTables object for this table, please pass either no arguments to the dataTable() function, or set bRetrieve to true. Alternatively, to destory the old table and create a new one, set bDestroy … | |
Hi, Trying to replace jquery-modules, because i need only datepicker, not any additional stuff. Found a light Pikaday datepicker, working just fine as common, but after hours of searching and reading articles, it seems that nobody has not found a good solution to fix date format issue of it, or … | |
I am making a website that will images on there, but the webpage will refresh every 15seconds but I want new images to appear on the site, is there anyway to do this? | |
I have a TRENDnet IP camera and I am wondering if there is a way to isloate the feed and stream it on my website? Thanks in advance | |
I wrote this function : function range(start,stop,step) { var array =[]; for ( var i = start; i <= stop; i += step ){ array.push(i); } return array; } var m = range(1,10); console.log("length = " + m.length); And it returns one. Since, range returns an array , should't it … | |
Hi, I need your help to zoom a place when click a marker in Leaflet. I used this code from http://leafletjs.com/reference.html#control-zoom map.on('click', function(e) { alert(e.latlng); }); this click event not working | |
im starting to play with html5's new media stuff but i can't quiet figure out how to send a songs info to play in a iframe. any hints? | |
My object: Take latitude, longitude columns from textfile(.txt) and mark them on googlemap api v3. For the first step, I made a code for reading textfile by javascript and html. When I run this code, chrome and IE browser open well but nothing happened. javascript part don't work. How can … | |
my web application is really simple there are two buttons one called "save" and the other called "show my images" basically the user can save images from facebook API and store them in the server folder called "backup" (to back up their images on the server so if they deleted … | |
I've got a new navigation layout I'm trying to implement at this url: http://www.50allstars.com/2016/05/grid-menu.html?m=1 It's not all done yet, but in my tests I've found this page to not work on an old un-unpdatable ipad of mine. I figure since not all people are internet-savvy, I'd best think of the … | |
Im a newbie and i am a student and new to php could anyone teach me how to upload image to database and view it.Please Help me or send the link for complete tutorial |
The End.