How to return value of longtide and latitude from json using angular 7? my url as following : http://192.168.7.xxx:9200/location/_doc/27737 json returned from url above is : {"_index":"location","_type":"_doc","_id":"27737","_version":1,"_seq_no":5577,"_primary_term":1,"found":true,"_source":{"Locid":27737,"GPS1":"25.0173, 121.462","GPS2":"25°01'02.2\"N 121°27'44.8\"E","CompanyID":1005070,"ads":"142 Sec. 1, HsIn Nan Rd cung Ko Dšst, New Taipei City, Taiwan","Crid":75,"con":"Taiwan","Ctid":5894,"Cn":"Zhonghe District","pushdate":"2019-12-26T03:38:20.883"}} I need to return two values from GPS1 : longtiude : 25.0173 latitude : 121.462 Based on LocationId parameter :27737 So that I need to create service take location id parameters and return two values of GPS1 Longtude And latitude then set values returned of longtude and latitude on ngOinInit Event How to create service then call it …

Member Avatar
Member Avatar
+1 forum 3

$(document).ready(function(){ var obj1 = { } var obj2 = { } if(obj1 === obj2) { alert('true'); } else { alert('False'); } }); Why if(obj1 == obj2) returns false eventhough obj1 and obj2 are objects of same type?

Member Avatar
Member Avatar
+0 forum 9

Hello, I would like to install an Angular Template on my web hosting, on a sub domain. I found several for free on google, but I have a white page when i try it on the browser. I am completely beginner on Angular. Do you know how to activate it?

Member Avatar
Member Avatar
+0 forum 2

How can I perform both ajax and form post sametime? currently the code only sends one that is called first and dont call the second one

Member Avatar
Member Avatar
+0 forum 6

I'd like for my page (https://fiftyallstars.com/tour.html) to load, and for the TOUR to start automatically. Right now visitors must click a button with id "starttour" Here's what I've added so far, but it doesn't do the trick: <script> $(function () { window.onload = $('#starttour').click(); }); </script> <a class="start-tour" href="#" id="starttour"><span class="two skinny" style="margin:10px 5px; width:290px; font-weight:bold; letter-spacing:4px;"><i class="fa fa-photo animated faa-pulse faa-slow"></i> Take a Detailed Tour</span></a> Thanks for any help whatsoever.

Member Avatar
Member Avatar
+0 forum 4

Hi, I need advice on how to implement a Review Management System. Something like realized on mypresences.com or brightlocal.com Not all services allow you to interact with their API. Review services are productreviews, trustpilot, tripadvisor, whirlpool, wordifmouth, seek, indeed, glassdoor. Maybe you now a script or have an offer how it can be realize. Help me, please.

Member Avatar
Member Avatar
+1 forum 1

![Scooch.gif](/attachments/large/4/13717be4f5be2345d3ca84ac1c6a79ce.gif) I am working on a page where I currently have a menu of 12 projects. On hover a project is underlined and on click a project expands vertically displaying a description. I have used a table to layout this menu. I wish to create a function where the menu is only able to expand untill a certain point, before it begin "filling up" the next column with the remainder of the menu. Below I have attached a mock-up GIF, showing the desired function. I have also pasted in some of my code. Please forgive my simplistic description, I am …

Member Avatar
+0 forum 0

Hello. I am using a lightbox form with a drop-down list. When I choose a value from the dropdown list, I want it to be assigned to a php variable which I will then use to update the total price of the form (the total price is already defined in the form). Here is the link to the relevant page: https://mobilitypro.eu/course/e-learning-blended-learning-and-introduction-to-web-designing/ . When the user clicks Book Now, the lightbox form appears. The problem is with the dropdown list "Select package": when an option is selected, I cannot pass its numerical value to a php variable (before submitting the form). …

Member Avatar
Member Avatar
+0 forum 1

Hi This is Praveen, I am working since 8years as a FrontEnd Developer with strong Knowledge in below mentioned Skills HTML 4 HTML 5 CSS CSS 3 JavaScript jQuery Bootstrap 3 and Bootstrap 4 Angular 2 to 8 React PWA (Angular and React) Require JS KnockOutJS NodeJS Magento 2 FrontEnd

Member Avatar
Member Avatar
+0 forum 2

![code_gs.jpg](/attachments/large/1/8423476c8319b780be2d4586cb559834.jpg) What to do to correct Syntax error, (line 1012,file "Code") for writing app script

Member Avatar
Member Avatar
+0 forum 3

Hi, I am ope and new to daniweb

Member Avatar
Member Avatar
+0 forum 1

I'm looking to change the source of an image by using onclick to have the image source change more than once. The expected outcome is basically to have the user click one image, then it will change to image 1, once that is clicked it will chance to image 2, and so on. I am struggling to find a way to do so with more than 2 images? I have tried various different ways but just can't seem to find a way that works with more than 2. I am only a beginner so it is difficult finding where I …

Member Avatar
Member Avatar
+0 forum 1

I am creating a web slider (responsive), but I need it to have a wave transition, what would be my best option? Thanks.

Member Avatar
Member Avatar
+0 forum 3

I am in a pickle in trying to implement a turn based game where two players join the game and is assigned a role randomly where they alternate roles after each successive round, the problem with that for me personally lies in trying to figure out how to make it turn based when their roles are alternating each round. I am using nodejs (new to it) and socket.io. The dealer moves first then the client selects their number is the game flow. My code is as follows: main.css body { font-family: "Helvetica Neue", sans-serif; margin: 0; padding: 0; } input …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to setup the links on this page: http://limitlesshoops.com/levels.html to lead to specific pages within this PDF: https://fiftyallstars.com/a2z.pdf --- I've found I can lead people to whatever page like this: https://fiftyallstars.com/a2z.pdf#page=7 but I'd like to lead them to a page based on Today's date. I've added a few example pages to the end of the PDF that have 12/01/19 etc. in the header section. I figure if the browser's "find" functionality can scroll to that page, then there should be some javascript that can do the same. Any help would be awesome. Thanks! ------------- Here are some helpful links …

Member Avatar
Member Avatar
+0 forum 1

Now as the automated cms are coming in power for eg. wordpress. Is it leading to ending of web development career.?

Member Avatar
Member Avatar
+3 forum 7

Hi, While I have some basic js coding skills and a few APIs uses in the past, I get stuck with one because it basically contains 3 calls. All async. Step 1 is pushing a file to the service and get back an ID in return. Step 2 is requiring a specific operation on the previously pushed file thanks to the ID Step 3 is downloading the result The fact is that I need to ensure all of these steps are individually ok before calling the next API endpoint. And exit if something went wrong. I am having hard times …

Member Avatar
Member Avatar
+0 forum 1

hi hope you are all fine. When user login in my web site the table update in database that the user is online and when they click on logout the table updated in database that the user is offline, it working fine but the problem is that when user login and close the browser without logout their account and my table show that the user is online but i want that when user close the broswer withot logout their account the table updated that this user is now offline tell me how can i do this. <script type="text/javascript"> function update(){ …

Member Avatar
Member Avatar
+1 forum 7

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar
Member Avatar
+5 forum 20

Hello guys i need help on implementing of search bar using javascript, html and css without database so that i can store data and then i can search them and display to another page. please I need some assistance

Member Avatar
Member Avatar
+0 forum 1

This mostly works. It shows the SSN when the first Val radio button is picked. It also shows the PaperAppliction when the second Val radio button is picked. The ONLY problem is that the field PaperApplication shows when the form is loaded before any radio buttons are picked. I need it to hide both SSN and PaperApplicaition until one of the radio buttons is picked, and then show the proper field. What am I missing? **Here is the JS** $(".field.SocialSecurity input[type=radio]").on("change", function() { if ( $(this).val() == "As a U.S. Citizen, permanent resident, or temporary working resident, I have a …

Member Avatar
Member Avatar
+0 forum 1

Am looking for something where I could get a array of next three months in number from the current month , i have tried to get the month in string but looking for something like eg : current month is 11 (ie) November so it should return 12,1,2 as next three months , any links would be great. TIA

Member Avatar
Member Avatar
+0 forum 3

Hi, I have to pass string entered in the input text to server method calling through jquery ajax. But its not going through. can please somebody tell me what i m doing wrong here. Below is the code: [CODE]$.ajaxSetup({ cache: false //timeout: 1000000 }); function concatObject(obj) { strArray = []; //new Array for (prop in obj) { strArray.push(prop + " value :" + obj[prop]); } return strArray.join(); } //var Eid = "stephen.gilroy1"; function testCAll() { //var ntid = $('#Eid').val(); $.ajax({ type: "POST", url: "Testing.aspx/SendMessage", //data: "{'ntid':'stephen.gilroy1'}", //working data: "{'ntid': $('#Eid').val()}", contentType: "application/json; charset=utf-8", dataType: "json", success: function(result) { alert(result.d); resultData …

Member Avatar
Member Avatar
+0 forum 6

Let me know the answers

Member Avatar
Member Avatar
+0 forum 1

Hello DaniWebian's, This is Muhaimin Sheik, I'm a passionate web developer as back and front end. I was very friendly and helpful person. I want more know about the techie knowledge. Please guide me. Thank you all...!Cheers...!

Member Avatar
Member Avatar
+0 forum 1

My quiz has a textbox, mcq and checkbox. At first, the checkAnswer() worked when I did not input the show() function to my javascript. It showed my overall score. But after I input that show() function to display 1 question at a time, my score is always 5/7 or less. Please do tell what is wrong with my code and if you have any recommendations. Please do tell. Here is the demo. [Click Here](https://codepen.io/huha2511/pen/zYYEaxY?editors=0010) <body> <div id="container" > <div id="start" > <div id="ready"> <button onclick="show('q1')"><h1>START NOW</h1></button> </div> </div> <div id="quiz"> <form name="quizForm" > <div id="q1" style="display:none;" > <!--QUESTION 1--> <div …

Member Avatar
Member Avatar
+1 forum 1

Please ask question and get to know answers from the Netizens about the ReactJs development. I'm also the learner of React JS and would like to seek job on that. Come join with me if you are looking for the same career.

Member Avatar
+0 forum 0

Hi guys, I have repost this problem again, which i still cant solved it , hope you guys can help me is been almost 2 weeks. Im not sure is my value not pass through all my url is wrong. thank you guys so much http://www.intpostfolio.com/intpostfolio/searchresult.php <input type="submit" onClick="openoverlay('<?php echo $data["ID"]?>')" value="<?php echo $data["ID"]?>"> http://www.intpostfolio.com/intpostfolio/js/search.js function openoverlay(id) { var myData = 'id='+id; jQuery.ajax({ type: "POST", url: "index.php", data: myData, success: function() { console.log(myData); } }); document.getElementById("myNav").style.display = "block"; } function closeoverlay() document.getElementById("myNav").style.display = "none"; } http://www.intpostfolio.com/intpostfolio/index.php $_POST["id"] is still empty even my console show the value <div id="myNav" class="overlay"> <?php …

Member Avatar
Member Avatar
+0 forum 1

Hi, Phrases on video is getting stacked up on each other after some iteration. Please help. Here is the link: http://responsivemts.com I have attached the screenshot for your reference. Thank you, ![Capture.JPG](/attachments/large/2/7db0d27700994ee4f0982cf8d3a54c3e.JPG) <div class="newsticker"> <ul class="newsticker-list"> <li class="newsticker-item item1"> <h1 >All Your Ad Campaign Needs in One Place</h1> </li> <li class="newsticker-item item2"> <h1 >Operational Efficiency? Check!</h1> </li> <li class="newsticker-item item3"> <h1 >24/7 Ad Ops? We've Got You Covered</h1> </li> <li class="newsticker-item item4"> <h1 >WE OFFER </h1> </li> <li class="newsticker-item item5"> <h1 >Programmatic Marketing Done Right</h1> </li> <li class="newsticker-item item6"> <h1 >Customized Campaigns and Limitless Imagination</h1> </li> <li class="newsticker-item item7"> <h1>Cutting-Edge …

Member Avatar
Member Avatar
+0 forum 1

hi guys, can anyone advise me how to pass ajax post, my alert message has value but i cant pass to index.php . searchresult.php <input class="lowfliter" onclick="lowprice()" type="submit" id="lprice" name="lprice" value="Lowest"> search.js function lowprice() { var lprice = document.getElementById("lprice").value; var myData = 'lprice='+lprice; jQuery.ajax({ type: "POST", // HTTP method POST or GET url: "index.php", //Where to make Ajax calls dataType:"text", // Data type, HTML, json etc. data:myData, //Form variables success:function(){ alert(lprice); }, }); document.getElementById("myNav").style.display = "block"; } function closeoverlay() { document.getElementById("myNav").style.display = "none"; } ![passvalue.png](/attachments/large/4/b86f6872ce49bcd485461f18d913bf7d.png) index.php <?php if(isset($_POST['lprice'])) { echo $lowest = $_POST['lprice']; } ?> <div id="myNav" class="overlay"> <a href="javascript:void(0)" …

Member Avatar
Member Avatar
+0 forum 1

The End.