920 Topics

Member Avatar for
Member Avatar for faisal6621

I've this code for my AJAX script $(document).ready(function() { $("#submit").click(function(){ var acc = $("#accountNumber").val(); src = "pass.php"; $.ajax({ url: src, data: 'action=account&type=viewDetail&accNo='+acc, cache: false, type:'GET', success: function(data, textStatus, XMLHttpRequest){ if(data!=0) { // alert(data); $("#userInfo").html(""); $("#userInfo").css("display","block"); $("#userInfo").append(data); }else { $("#userInfo").html(''); $("#userInfo").append('<span class="alert-red alert-icon">Please Enter correct Account Number.</span>'); $("#userInfo").css("display","block"); } }, error:function(XMLHttpRequest, …

Member Avatar for Hoven_1
0
3K
Member Avatar for Nurul_3

Hello .Im a final year student in bachelor of science computer in web technology. I need your suggestion for my final year project title.Do you have any related ideas?

Member Avatar for happygeek
0
666
Member Avatar for Isabella_2

Hey guys, Myriad Festival is coming to Brisbane next week and heaps of tech experts both local and international will be speaking there! It's my first time going to an event like this and I'm super excited to hear the industry mentors speak so I thought I'd let you all …

0
225
Member Avatar for jmvazq

I am currently experiencing something strange with one of my routes' responses and haven't been able to find any information elsewhere. So, let's say I make a call to a route in my controller with JQuery, like this. It's a POST action and I expect JSON data. // Send the …

Member Avatar for pty
1
402
Member Avatar for Owusu_1

Hi, I've designed a voting system in PHP that when a user clucks on the vote button it echo a message and a link to view the result. I want to move this message and the link to a popup window

Member Avatar for Bachu
1
573
Member Avatar for Mati_1

I'd like to get all of a mysql table's col names in a select box, and display the selected column name in a table. I just want to select one column at a time to display it in a single column table. I am assuming this can be done with …

0
445
Member Avatar for Mr.M

Hi DW. I'm trying to post data without refreshing the page using the ajax, and its works fine the problem is that on the response I also get the array data that I posted to my php file then at the end of response is the returned data which is …

Member Avatar for Mr.M
0
489
Member Avatar for Syed_18

Hi I have problem that cannot show form validation errors in view . I am using ajax to post data to controller. Here is my Controller's Validation part private function _validate() { $this->form_validation->set_rules('Name', 'Name', 'required|alpha'); $this->form_validation->set_rules('CellNo', 'CellNo', 'required|numeric'); $this->form_validation->set_rules('Address', 'Address', 'required'); $this->form_validation->set_rules('Rate', 'Rate', 'required|numeric'); $this->form_validation->set_rules('Advance', 'Advance', 'required|numeric'); $this->form_validation->set_rules('BottlesQty', 'BottlesQty', 'required|numeric'); …

0
353
Member Avatar for Anthony_22

i have been trying to upload image files in to my database but i failed in many ways, the form saves everything except the image files. i am not sure if its the php or the java or the html page, honestly i lost my path. i have included all …

Member Avatar for ryantroop
0
651
Member Avatar for niranga

Hi All, I have a PHP code which do some changes to the POST variables it receives and redirect the page to some other page. This PHP code was initially designed to work without Ajax. So there wasn't any problem with the redirect function and it perfectly handles the POSt …

Member Avatar for Mukul_2
0
13K
Member Avatar for patk570

Hey everyone, this code below is giving me a weird error, Script 438: Object doesn't support property or method 'ajax'. I am testing this in Microsoft Edge, but...I have a website that uses this exact same code, and its working like normal. I am getting the `var id` to load …

Member Avatar for patk570
0
5K
Member Avatar for rjusman90

> this is php code for get value while ($row = $activeRiders->fetch(PDO::FETCH_ASSOC)){ $rider_name = $row['RiderName']; $longitude = $row['CurrentLongitude']; $latitude = $row['CurrentLatitude']; $locations[]=array( $rider_name, $latitude, $longitude ); } $markers = json_encode( $locations ); > Jquery function $(document).ready(function() { $('#map').height($('.page-container').height()); $( window ).resize(function() { $('#map').height($('.page-container').height()); }); <?php echo "var markers=$markers;\n"; ?> > …

0
173
Member Avatar for RainaAnja

<div class="list-group"> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","DayilyProposials")" > <span class="badge" style="font-size:10px;color:#fff" id="DailyPropNumber">0</span> <span style="font-size:10px;font-weight: 900;font-weight: 900;">Daily Proposals</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("HotG","home")"> <span class="badge" style="font-size:10px;color:#fff" id="HotGamesNumber">0</span> <span style="font-size:10px;font-weight: 900;">@index.Index.hotgames</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge"style="font-size:10px;color:#fff" id="TodayNumber">0</span> <span style="font-size:10px;font-weight: 900;">Today</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Index","home")"> <span class="badge" style="font-size:10px;color:#fff" id="ByTimeNumber">0</span> <span style="font-size:10px;font-weight: …

Member Avatar for diafol
0
374
Member Avatar for Johnson_7

Hi Dynamic Dependent Select Box last one not working Bank,State,District is working branch ont working please check below code Please help. index.php <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> .select-boxes{width: 280px;text-align: center;} select { background-color: #F5F5F5; border: 1px double #FB4314; color: #55BB91; font-family: Georgia; font-weight: bold; font-size: 14px; height: 39px; …

0
218
Member Avatar for Var_1

Hi all, I had created a function updateprintingqc() that work like this 1. user will click on a clickable button to update the data 2.when user click on OK,the dummy data will be create based on the main data shown in below image's link https://drive.google.com/file/d/0B46VQHVMeBTNMzVodDRxZEw3dGs/view?usp=sharing When the user click the …

Member Avatar for arunmagar
0
2K
Member Avatar for durga_4

I have site using php frame work codigniter where I am using the mattdiamond/Recorderjs to record an audio file in blob content type then i am uploading it to the server but it is taking top much time to upload I want to minimize my uploading time. Max size of …

Member Avatar for rproffitt
0
338
Member Avatar for KaleBeatroot

Hello every One i have been trying this for a day but can't able to find out what i am doing wrong? Here Class proxy function which gives me access token and refresh token after user enter it's username and password by ajax request i send request to controller where …

Member Avatar for KaleBeatroot
0
3K
Member Avatar for Petreanu

so my newest problem! i have a save button and that save button already has the insert into query and working fine now what i wanna do is when the user clicks on the save button what it does first is, it checks if a record of that user already …

Member Avatar for AndrisP
0
318
Member Avatar for Krunal_3

Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both …

Member Avatar for KushMishra
0
286
Member Avatar for patk570

Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = '<?php echo $_SESSION['user_email']?>'; console.log(email); e.preventDefault(); $.ajax({ type : 'GET', url : 'count_record.php', // in here you should put your query …

Member Avatar for michael.dewitt.716
0
218
Member Avatar for Kirielson

Hello, I'm having trouble posting JSON to a url using Flask, AJAX and Javascript. Essentially, I would code using a library [Jquery Sortable](https://johnny.github.io/jquery-sortable/) to create a sorted list. From that sorted list I want to post to the server. The problem is that the server does not recieve the JSON …

0
219
Member Avatar for Daron_1

How can I validate each of (upper textboxes) using AJAX to see if the username and password is correct and if they are not correct, display the error messages in red below each respective textbox. Here is my code. Any suggestions would be help. <html> <h1>Welcome to Cuyahoga Community College …

Member Avatar for diafol
0
302
Member Avatar for Daron_1

How can I get my current content to slide to the left and bring in new content from the right (after clicking on button 1) when an existing student's username and password are correct, and if it's not correct display error messages that either the username or password isn't correct …

0
159
Member Avatar for Arjun_9

These are the options available in t_plan table id plan_name -- --------- 4 - free 5 - Gold 6 - Silver 7 - Platinum etc My object is to as user click on an option in the form it will populate the following input boxes next to select box from …

Member Avatar for rproffitt
0
1K
Member Avatar for JOSHUA_19

HELP HELP HELP!!! I need an assistant on a project am working on using php/javascript. Its a forced matrix. HOW DOES IT WORK? A person is automatically assigned three downlines without any referral based on id. Starting with the admin, lets say 100 persons register, three will be placed under …

Member Avatar for rproffitt
-2
482
Member Avatar for Krunal_3

Hello, I have requirement to read MS Word file data using DevExp and then loop through the content and save content to DB. how can I do it with DevExp? Thanks, KK

Member Avatar for rproffitt
0
172
Member Avatar for massivefermion

I want to learn web programming with Java. I'm using eclipse neon with tomcat 8.5.13. My question is do these tools support asynchronous programming and server push technologies or should I use other tools? Thanks

Member Avatar for rproffitt
0
232
Member Avatar for Bob_17

I have the pagination portion working as I would like it, but I am unsure of how to get the 2 html dropdown menus to filter content down further, to show the content that is only relevant to the stuff selected with an onChange event. I have included my entire …

Member Avatar for vsmash
0
776
Member Avatar for Krunal_3

Hello, I have implemented pagination in MVC application. when first time page loads, it works properly, when I click on paging then it makes AJAX call and bind the data in my HTML table from json response. but after AJAX call, pagination is working. once AJAX call fires, then pagination …

Member Avatar for The Diamonds
0
807
Member Avatar for Shafi_2

i want to refresh multiple div value without refreshing the whole page using one function. <div class="live_update" id="a">33</div > <div class="live_update" id="b">34</div > <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script> function autoRefresh_div() { $('.live_update').load('Dashboard.php' + ' .live_update'); } setInterval('autoRefresh_div()', 1000); </script>

Member Avatar for Dani
0
1K

The End.