15,120 Topics

Member Avatar for
Member Avatar for Haru_1

This is really stupid question and i feel ashamed to ask but i kinda have to. So here is the thing, in my college/school we got some sort of homework which isn't a "must do" but i wish to for myself, so thing we need to do is, when i …

Member Avatar for Haru_1
0
239
Member Avatar for winterprince

Hi I am new to javascript and am working on Linux mint OS.I would like to know how to randomise a 3*3 matrix consisting of nine thumbnail images every time you hit the refresh button in javascript,without displaying the same order of images twice in a consecutive manner.

Member Avatar for iamthwee
0
50
Member Avatar for CrankyMero

So here is the thing its been days since im trying to solve this, i'm debuggin a project from the company i work, its a web system, and here is the thing i have a javascript file which im going to call 'docart.js' and a core file which i will …

Member Avatar for k99rs
0
200
Member Avatar for nice_true

Hello, I need to transliterate the names of employees that are fetched from my database and write the transliterated values back into the database... For this I need to run a javascript code in a loop for as many no of records as in the database.... The code I am …

Member Avatar for stbuchok
0
216
Member Avatar for bLuEmEzzy

Good Day, guys, please help me, after validation in javascript,I want the user to go to the next page. I tried window.open ("sinfo.php"); The problem was it opens in another tab. I want the next page (sinfo.php) to be on the current window. Thanx

Member Avatar for bLuEmEzzy
0
100
Member Avatar for os.kwesi

Hi All, I want a script that will allow me open a link to open in a frame when clicked on the site when the link is. Please see this example page: http://www.samachar.com/US-judge-will-not-change-Pandoras-songwriters-licensing-rate-odpiKOfgdce.html Will appricate any help. Thanks

Member Avatar for Alberto Bucur
0
50
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
332
Member Avatar for emortals

Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. I have a simple form with 4 checkboxes and a submit button. Each checbox has a unique value. The …

Member Avatar for Alberto Bucur
0
256
Member Avatar for emortals

I have hopefully a relatively straight forward one for you guys. Unfortunately not so straight forward for me. I have a an existing java script that works with a group of checkboxes that I have. Its quite simple, If you select a checkbox and click submit the javascript function will …

Member Avatar for emortals
0
166
Member Avatar for samuel.marx.7

I am very new to this and have been given code for a website i have. Please can someone help me and let me know how to convert code to an image? I have searched everywhere and cannot find the answer.

Member Avatar for iamthwee
0
58
Member Avatar for Milan_1

Hello all, I am new to javascript and looking for some help. I have searched around different forums but my skills have not served me well to build a working script. <script language="JavaScript"> var myDate = new Date(); /* hour is before noon */ if ( myDate.getHours() < 12 ) …

Member Avatar for Alberto Bucur
0
233
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
455
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
458
Member Avatar for Raquel_2

//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; }

Member Avatar for Raquel_2
0
208
Member Avatar for Siberian

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 ?

Member Avatar for JorgeM
0
104
Member Avatar for nadiam

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 …

Member Avatar for patk570
0
850
Member Avatar for begueradj

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

Member Avatar for ckide
0
104
Member Avatar for mattyd

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 …

Member Avatar for iamthwee
0
264
Member Avatar for komal_1

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>

Member Avatar for JorgeM
0
214
Member Avatar for mac.barbiec
Member Avatar for suavedesign

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. …

0
80
Member Avatar for mwnt2014

JavaScript for mobile browser detect img changed according to mobile browser wheather iphone or android ..different images for both....

Member Avatar for diafol
0
107
Member Avatar for jj.dcruz

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 …

Member Avatar for pritaeas
0
186
Member Avatar for Siberian

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 …

Member Avatar for diafol
0
185
Member Avatar for sandorlev

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 …

Member Avatar for JorgeM
0
179
Member Avatar for keyroche

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 …

Member Avatar for kiranmaijalem
0
2K
Member Avatar for hanan-kh

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

Member Avatar for Alhussaini.Eng
0
86
Member Avatar for faysal.ishtiaq_1

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 …

0
106
Member Avatar for Rahman_1

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 …

Member Avatar for Rahman_1
0
221
Member Avatar for network18

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 …

Member Avatar for network18
0
2K

The End.