15,120 Topics

Member Avatar for
Member Avatar for SimonIoa
Member Avatar for DJBirdi
0
228
Member Avatar for rubai

Hi, I need to make a small plugin/ module. There would be a text field with submit button. This text field to enter zipcode. Onece an user submit a zipcode some info will be fetched from database. I know how to connect database, basic php mysql, javascript. Thanks

Member Avatar for diafol
0
581
Member Avatar for devgit2810

Hello Friends, I have an admin page,where i want to assign priorities to 10 questions for a exam project.Now i am doing it with drop down lists where 10 options are given in drop down.How can i add a javascript so that if admin selects value '1' in dropdown for …

Member Avatar for devgit2810
0
192
Member Avatar for Jack_9

This question has been asked on forums like this, including this, and I want to put it out there. Javascript is bad alone. With html and css it gets a little better. But I mean sure, dart can do everything and more that javascript can do BUT javascript is good …

Member Avatar for hericles
0
110
Member Avatar for tekagami

**Introduction** Lets say you have a website with a mobile version and a desktop version. Pictures can be resized proportinally using css on either version. But not all html tags resize proportionally, for instance: iframes. **Javascript Function** includes: the *id* of the iframe, the *original width* and *original height* See …

Member Avatar for Hicaro_1
4
859
Member Avatar for Pravesh_1

It is always submitting form; How I can return false using AJAX; I knew AJAX is asynchronous; if(theform.code.value!="") { $.ajax({ type:'post', data:'action=codeverification&code='+theform.code.value, url:'jquery-ajax.php', success:function(html) { if(html=='false') { alert('Please enter correct code'); theform.code.focus(); flag=false; } } }) }

Member Avatar for Pravesh_1
0
6K
Member Avatar for Priti_P

Hello, I have a div in which I have written values fetched from an ajax call. I want, when double click on any word in that div , alert that word. I refered http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/479879/how-to-detect-clicked-word-in-textarea-with-right-click-and-show-menu-items and well some stackoverflow. but did not get answer. code is as below FYI. $("#other_skill_name").keypress(function() { …

Member Avatar for Taywin
0
172
Member Avatar for dwlamb

This is a typical entry of many on a page: <div class="link_entry"> <div class="link_actions left"> <span class="LibraryItemDelete"> <img src="images/ajax-urls/delete_icon.png" title="Delete this link" alt="Delete this link"> </span>&nbsp; <span class="LibraryItemEdit"> <img src="images/ajax-urls/edit_icon.png" title="Edit this link" alt="Edit this link"> </span> </div><!-- /link_actions --> <div class="link right"> <input type="hidden" value="92" name="id"> <--want to find …

Member Avatar for dwlamb
0
297
Member Avatar for Priti_P

Hello , I want to show spinner while processing below data. // SHOW SPIINER HERE $.getJSON("./php/fetch_record.php",{Record_id: Schedule_id, ajax: 'true'}, function(j){ for (var i = 0; i < j.length; i++) { $.post("/Test/Simple_form_submit", { //variables here },function(data){ }); } // HIDE SPINNER HERE I had tried show and hide div here but …

Member Avatar for Priti_P
0
701
Member Avatar for nadiam

Hello, I was asked to try and create a table seating arrangement, something like [this site](http://www.weddingwire.com/wedding-planning/wedding-seating-tables.html) but i guess not so advanced as that because I may not be able to do it. Anyway, I haven't even started and I'm already stuck. I'm not sure where/how to start. Could someone …

0
150
Member Avatar for jeffcogswell

[COLOR="Red"][B]UPDATE: see author's comments after article[/B][/COLOR] When you develop for mobile devices these days, you pretty much have two paths you can take: You can use the OS manufacturer's SDK and develop native apps, or you can create an application that runs in the device's web browser. Developing for the …

Member Avatar for Batninja
3
2K
Member Avatar for SlashBunny

I'm creating a website with a list of company and their profile. So far I have been able to make a navigation list of company and their profile as AJAX page. <ul id="nav" style="float:left, margin: 10 10 0 10;"> <li><a href="company_1">Company 1</a></li> <li><a href="company_2">Company 2</a></li> <li><a href="company_3">Company 3</a></li> </ul> <div …

Member Avatar for DJBirdi
0
777
Member Avatar for Dani

Our up/down voting buttons don't do anything on iOS devices (iPhone, iPad). Confirmation that they work fine on Blackberry and other mobile devices. Additionally, they work fine on all desktop browsers, including Safari. HTML code looks like this: <div class="vote-arrow downvote" data-vote="-1">&nbsp;</div> <div class="vote" title="Vote on posts with a comment …

Member Avatar for JorgeM
2
357
Member Avatar for Hoa_2

I want to create a content slider with text and image will be animated 1 after 1 and multi background. I found http://tympanus.net/Development/ParallaxContentSlider/index2.html with text and image animated 1 after 1 but it just 1 background. Can you guy show me how to make multi background for this slider or …

0
46
Member Avatar for dwlamb

I have two forms that are fairly identical located on different pages of a site. In order to call distinct jQuery ajax functions there are two class names I need to alter. For one of the pages, I place this script <script> $(document).ready(function(){ $(".itemDelete").switchClass("itemDelete","LibraryItemDelete"); $(".itemEdit").switchClass("itemEdit","LibraryItemEdit"); }); </script> and it is …

Member Avatar for dwlamb
0
170
Member Avatar for dannjoroge

can any one please help me on how to write a jquery that checks two drop down inputs and determines the third from the database ..please help am really stuck

Member Avatar for JorgeM
0
43
Member Avatar for Priti_P

is there any option in javascript/jquery to know whether browser's javascripts are disabled or not? like if browser's javascripts are disabled then give alert to user that "Enable Javascript".

Member Avatar for almostbob
-1
104
Member Avatar for mehul12345

Hi, i need help creating a fuel volume calculator to estimate the gallons of fuel required to travel 5 distances so far the 5 distances in miles the user enters are stored in an array, however i need a sum to find the average of the five numbers here is …

Member Avatar for mehul12345
0
864
Member Avatar for Mian Sahib Jan

me have two projects now me want to call the function 0f one project an another project for example me have project A and B in A there are a javascript funtion which me want to call in project B on button click ...how it possible can any one explain …

Member Avatar for urtrivedi
0
153
Member Avatar for Himanshu Chawla

**I want to track Email if opened by user and increase the count in my database.** **I have tried a lot a things like image sending and bgsound but none of them worked. But now i will do with the help of image sending. I am not getting the idea …

Member Avatar for iamthwee
0
244
Member Avatar for brugernavn

Hello, I am trying to "transfer" geolocation-data to a php script. I think, that the reason it wont work is, i can't get the varible from outside the function. So far, i got this code. How do i get it to work?! :) <body onload="office_getLocation()"> <script src="min.js" type="text/javascript"></script> <script type="text/javascript"> …

Member Avatar for DJBirdi
0
505
Member Avatar for nadiam

Hi. i got table A(contact-names) which is where name are populated to from db and table B(guest-names) where names from table A will be appended to. this is the js i came up with to append the names: var msg2 = '<tr class="tr"><td><input type="text" name="GName" class="input-name" placeholder="Doubleclick on a name." …

Member Avatar for nadiam
0
493
Member Avatar for Dinesh Dev

Hi everyone I am working on a client server based project(I am new in this field) where I have to bring the name of all dir and files inside dir from server and show it to user.For client side I am using HTML+javascript+jquery, I am sending request through Ajax and …

Member Avatar for AleMonteiro
0
687
Member Avatar for dlmagers

Hello, everyone. I am working on an application that I think I may need a little help. Yes, I am new to this language so I hope you won't be to hard on me. I am sure this is something stupid (mistake) but if someone would lean a helping hand …

Member Avatar for dlmagers
0
265
Member Avatar for developer707

I am trying to get a variable from a javascript function, but I am having a problem getting it the variable value outside the function. The variable value can be outputted just fine inside the function. Here is the script, but how can I get the value of status and …

Member Avatar for developer707
0
667
Member Avatar for 9tontruck

I am trying to integrate Leaflet (http://leafletjs.com/index.html) I just copy-and-paste'd the very first demo code but it only displays a gray map.. Here is my code: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> </head> <body> <div id='map'> <script> var map = $('#map'); map.css('height', 375); map.css('width', 500); var …

Member Avatar for 9tontruck
0
355
Member Avatar for iamthwee

Hi guys this one has got me stumped. I'm making a page builder where you can create column divs the maximum per line is 12, each one floated left. Trouble is I need a clear float when the div column exceeds 12. This is all dynamic being a drag and …

Member Avatar for iamthwee
0
222
Member Avatar for accra

Diafol, anybody pls help. i have this javascript code <script> FB.init({ appId : '00000000000000', frictionlessRequests: true, }); function sendRequestToRecipients() { var user_ids = document.getElementsByName("user_ids")[0].value; FB.ui({method: 'apprequests', message: 'Great App', to: user_ids, }, requestCallback); } function sendRequestViaMultiFriendSelector() { FB.ui({method: 'apprequests', message: 'My Great Request' }, requestCallback); } function requestCallback(response) { console.log(response); …

Member Avatar for accra
0
2K
Member Avatar for nadiam

Hello. I just thought of adding the js print function to a page im building. from what i read i know it is pretty straight forward, use window.print. i was thinking about some of these sites that have this printing function that when a button or link is clicked a …

Member Avatar for nadiam
0
3K
Member Avatar for amraam

Alrighty guys, I'm trying to get myself started with using an API called tinysong that'll use XML HTTP objects to take in specially formatted URLs to return a json object with song metadata. See [code](http://pastie.org/private/jrvd6jwi2biavkgwvz7o7w#2) . (BTW I have replaced myApiKey with my own API key.) I believe I've done …

Member Avatar for AleMonteiro
0
268

The End.