14,053 Topics

Member Avatar for
Member Avatar for Dudearoo

first off this is a question where jQuery is used heavly, there are no catagories to put that under on <DaniWeb> so i've put this post under what i believe is the most appropriate one. Ok! now thats done and over with, im requiring some assistance on how to write …

Member Avatar for pritaeas
0
255
Member Avatar for davy_yg

Hello, I am looking for Javascript codes where you can move the list of data in left side to the right side. For example: Attendance: John Albert Albert Victory Kim >> James Kayla Victory James Out of the 6 people only 3 students attend the class. All the registered students …

Member Avatar for iamthwee
0
130
Member Avatar for prash21m

Hi there, I have a php script that contain java script codes to show pop up email registration form, but these codes does not work. can anybody suggest me how to make it to work ? Below is the code that i have on my script. **Maybe to set cookie …

0
84
Member Avatar for TheWifiGuy

I need a Javascript Code to prevent users from right clicking on my website.. alot of people tell me why would you do that? the people will hate your site. but my site has a whole lot of images and videos i made myself and u know these stupid people …

Member Avatar for almostbob
0
119
Member Avatar for munchlaxxx

Hi, I'm a web development newbie. I was wondering if this was possible: Say there's a page where you submit a value in a form, and when you click submit it links to another page. Then that page links to a few more pages. Would you be able to retrieve …

Member Avatar for AndrisP
0
212
Member Avatar for alex.dimofte.5

So I have this function that sets an achievement in my database and returns infos about the achievement to be displayed on a bootstrap 3 modal. function setAchievement(idAchievement){ $.ajax({ url: "http://localhost:8080/licenta/setAchievement", data:{"idAchievement":idAchievement} }).then(function(data) { if (data.description != "null"){ // if update was made $("#description").text(data.description); // set the divs with infos …

Member Avatar for alex.dimofte.5
0
289
Member Avatar for razor2890

I have the following field in a jsp page.. <select size="1" name="typ"> <option value="C">Coffe</option> <option value="T">Tea</option> &nbsp; </select> Now when the user selects Coffeand and clicks submit, I want the page to go to Coffe.jsp and when Tea is selected , i want it to go to Tea.jsp I tried …

Member Avatar for trhtrh
0
6K
Member Avatar for nadiam

hey guys. first, sorry about the vague question title i know that that is totally unacceptable but i just didnt know what the title of this thread should be. sorry(ashamed). so the "issues" that i am having is regarding this script: $("#table tr td").live("click", function(){ var row = $(this).closest('tr').css('background', 'LightSlateGray'); …

Member Avatar for nadiam
0
210
Member Avatar for nadiam

hello. so to keep it short and simple. I have a button "Cloned" and an <img>. The problem is that the image gets double cloned on the second, third and so on when Cloned button is clicked. Like on the first click image gets cloned and displayed once, on the …

Member Avatar for nadiam
0
447
Member Avatar for Bharadwajcvrg

Hi All, I am trying to filter the State, City using WATABLE. In my data city coloumn has identical state values for example Multiple states has same city. In that case when I filtering the city complete watable is filtered upon city instead of state. Like State: Texas City Drop …

0
75
Member Avatar for Priti_P

Hello, How to force **window.onbeforeunload** to act only on pertular action or url? I have a form which has data. if it navigates to another page then `window.onbeforeunload= function() { return "please save data"; };` is working. But after submission of that page, it navigates to another page on that …

Member Avatar for Priti_P
0
129
Member Avatar for iConqueror

I have run into a basic problem. I have a very simple form that asks the user their name and then they click the submit button and an alert is shown with their name in it. When the button is clicked nothing happens. I have called the function in the …

Member Avatar for iConqueror
0
244
Member Avatar for Priti_P

Hi, I want to take php string in javascript variable. How to take it? php string includes \n so while taking it in variable it shows me error of "SyntaxError: unterminated string literal" I got one solution form stackoverflow that use json_encode but after use of json_encode is giving me …

Member Avatar for Priti_P
0
302
Member Avatar for momonq1990

i need to create 2 selection; 1st selection has fix option and the second selection will be base on the selected selection 1 selection 1 option 1 = number option 2 = letter option 3 = char number option 1 = 1 option 2 = 2 option 3 = 3 …

Member Avatar for Taywin
0
184
Member Avatar for Tinnin

Hi All, I'm trying to display a postal area on Google Maps API within it's boundaries. I want to do this dynamically so that everytime someone changes the text in a text field (entering a postcode or part of), it checks the postcode and calculates the boundaries then displays them. …

Member Avatar for Tinnin
0
9K
Member Avatar for shreyassv

hi, here is my problem- i am creating a table dynamically using java script- the number of cells in a row is constant and the data is accepted from the user from x text boxes(based on number of cells). now, i want to insert a button in the x+1th cell …

Member Avatar for madhuri91
0
1K
Member Avatar for dlmagers

Hello, I have been working on this application for a bit and I feel like I am close but apparently I am not close enough. **Challenge:** I need to be able to have the user input an address and click "Create Map". In the map that’s displayed, the user’s entry …

Member Avatar for almostbob
0
306
Member Avatar for SimonIoa
Member Avatar for DJBirdi
0
224
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 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
696
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
776
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

The End.