Hello All. I am new to Daniweb. I was wondersing if there are people who could help me with CouchCMS, a PHP based content management system. I am held up in an issue where I want to generate the receipts of fees being paid by the students. So by perspective of CouchCMS I have the following: 1. Student template (clonable page to store all students data) 2. Month & Fees template (clonable page to specify the respective month and its fees) 3. A Collect Fees template (for generating fees receipt using the data from Student and Month & Fees templates) …

Member Avatar
Member Avatar
+0 forum 1

how to use django web framework

Member Avatar
Member Avatar
+0 forum 1

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

Member Avatar
+0 forum 0

I have a very standard code where I use a CRUD interface on my Database. The issue is that every attempt I made to redraw/update the table with the new data [ $('.table').DataTable().draw(); ] has failed miserably. Here is my targeted code: function manageData(key) { var name = $("#countryName"); var shortDesc = $("#shortDesc"); var longDesc = $("#longDesc"); var editRowID = $("#editRowID"); if (isNotEmpty(name) && isNotEmpty(shortDesc) && isNotEmpty(longDesc)) { $.ajax({ url: 'ajax.php', method: 'POST', dataType: 'text', data: { key: key, name: name.val(), shortDesc: shortDesc.val(), longDesc: longDesc.val(), rowID: editRowID.val() }, success: function (response) { if (response != "success") alert(response); else { $("#country_"+editRowID.val()).html(name.val()); …

Member Avatar
+0 forum 0

Hello i'm to make a vacations script calculator <div id="content"> <form class="form-container"> <input class="emri" type="text" placeholder="Name"> <input class="mbiemri" type="text" placeholder="Last Name"> <input class="Vendosni-Datelindjen" type="text" placeholder="Birthday"> <select class="drop-down-select"> <option selected="selected" value="Select Zone">Select Zone</option> <option value="Zone A">Zone A</option> <option value="Zone B">Zone B</option> </select> <select class="drop-down-select"> <option selected="selected" value="Nr of persons">Nr of persons</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> Start <input type="date" value="" /> Finish <input type="date" value="" /> HERE TO SHOW TOTAL PRICE </form> ` <a target="_blank" title="Contact Us On WhatsApp" href="https://api.whatsapp.com/send?phone=123456789&text=HERE TO COPY ALL MY INPUT VAULE AND TO PASTE ALL TO WHATSAPP MESSENGER"> <i class="fa fa-fw fa-whatsapp" style="color:#fff"></i> <button …

Member Avatar
Member Avatar
+0 forum 1

I'm trying to figure out why some of the ajax tabs are not working. The first two tabs work, the third through 5th tabs do not work when you click on them.

Member Avatar
Member Avatar
+0 forum 2

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, is it possible to use as a function and call it in same file in below code xhttp.open("POST", "index_1.txt", true); Please suggest Thanks and Regards Rizwan Syed

Member Avatar
Member Avatar
+0 forum 2

Greetings, Trying to understand how to load from a master menu (UL-LI styled) different external html files into multiple DIV s all on the same page. I have a note taking system that runs offline that uses html5 css3 and frames. It uses 2 rows and 4 columns for the desktop version (2 rows 6 columns for netbooks and 2 rows 4 columns for a tablet). Each has its own name and id tag in it. The first row is for viewing files while the bottom row is indexes. So that top-row column-1 views what bottom-row column-1 indexs, the same …

Member Avatar
Member Avatar
+0 forum 1

I need some help to add few audio effects to website. I found some examples like following, audioOn: true audio.muted = false setAudioOn true ref: "audio", attrs: { "id": "projects-audio" } }, [_c('source', { attrs: { "src": "/audio/click.mp3" } playAudio: function playAudio() { this.$parent.$refs.clickAudio.volume = 0.8; this.$parent.$refs.clickAudio.play(); }, I need help to play audio using **play() **, control volume using **volume = 1** What is **workClick: ?** I found it used with sound properties. So, basic needs are play various sounds - on click, background music, control volume of background music, play sound on overlay appears

Member Avatar
Member Avatar
+0 forum 12

Can you help me to programe a window pop up in my site say in it write your email which code should i use in html and javascript

Member Avatar
Member Avatar
+0 forum 2

If you viste www.topelven.com you will find a perfect website devloped but till now i can't understand what they code with css can you give me exemple

Member Avatar
Member Avatar
+0 forum 2

I'm trying to make SSO like [Yandex](http://yandex.ru/) do. How achive authentication without redirect if user has been already authenticated at another service provider? I am working on SAML, but I could not achieve implementation without a redirect.

Member Avatar
+0 forum 0

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, textStatus, errorThrown){alert(textStatus); alert(errorThrown);} }); }); }); This scripts loads data from server and while I want to retrieve another account information it takes time. So I want to display some spinner while the data being fetched. Anybody could help?

Member Avatar
Member Avatar
+0 forum 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
Member Avatar
+0 forum 13

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 know so you could buy tickets as well if you were interested! Just search Myriad Brisbane for the extended speaker list, too many goodies to name! Hope to see you there :)

Member Avatar
+0 forum 0

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 data $.ajax({ type: "POST", enctype: 'multipart/form-data', //'application/json', url: "/Claims/Application/SaveCurrentFormData", data: data, dataType: 'json', // we're expecting back a json processData: false, contentType: 'application/json', cache: false, timeout: 600000, success: function (result) { for (var formCode in result.forms) { var selector = "[data-formcode='" + formCode + "']"; $(selector + " [name='TicketDocumentId']").val(result.forms[formCode]); } …

Member Avatar
Member Avatar
+0 forum 3

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
Member Avatar
+1 forum 4

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 a single query for all columns because they all will be displayed in the same table format. What I did so far is this: <html> <head> </head> <body> <table id="tbresult"> <tr> <th>Column</th> </tr> <?php include ("config.php"); $sql = "SHOW COLUMNS FROM mytable"; $result = mysqli_query($conn,$sql); while($row = mysqli_fetch_array($result)){ echo "<tr><td>" …

Member Avatar
+0 forum 0

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 echoed from my php file. I post 3 data which are from my form but the problem is that on my response this data is also shown when I do `alert(response);` please check attached image and you will see that on the alert response firstly the array of what I …

Member Avatar
Member Avatar
+0 forum 1

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'); $this->form_validation->set_rules('DeliveryDay', 'DeliveryDay', 'required'); $this->form_validation->set_rules('DeliveryPerson', 'DeliveryPerson', 'required'); $this->form_validation->set_rules('referenceName', 'referenceName', 'required'); if ($this->form_validation->run() == FALSE) { $errors = validation_errors(); echo json_encode(['error'=>$errors]);} } Here is view with ajax <div id="print-error-msg" class="alert alert-danger " style="display:none"></div> //part of ajax posting to controller var formData = new FormData($('#form')[0]); $.ajax({ url : url, type: "POST", data: formData, …

Member Avatar
+0 forum 0

Greetings to everyone, I am working as a freelance web developer, i have more than 4 years experience in osclass scripts. I am working in the osclass scripts for the past 4 years and have created nearly 67 sites in osclass, and have created many plugins, cuztomized themes, plugin cuztomizations according to the clients need. I saw many of the post was unanswered here regarding the osclass scripts, so i make this new topic those who are wandering for a good programmer for their osclass script, reply me here if you need my support, thanks.

Member Avatar
+0 forum 0

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 my pages, any help would mean a lot, thanks!!! <html> <head> <meta charset="utf-8"> <title>PYB Register Bike</title> <link href="bootstrap-3.3.7/dist/css/bootstrap-theme.min.css" rel="stylesheet"> <!--styling css link --> <link href="bootstrap-3.3.7/dist/css/bootstrap.min.css" rel="stylesheet"> <!-- styling css link --> <link href="font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet"> <!-- styling css link --> <link rel="stylesheet" href="../ProtectYourBike.css"> <!-- CSS Reference --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> <script src="http://malsup.github.com/jquery.form.js"></script> …

Member Avatar
Member Avatar
+0 forum 1

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 variables and redirect the user to another page. So now I want to use the same PHP code with Ajax... :) I tried it and and it did not gave me the results I was expecting. Problem is with the redirect function. Other PHP lines execute perfectly fine( it stores …

Member Avatar
Member Avatar
+0 forum 8

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 properly, I am not sure why it is not working, since, its working on the other site. I copied and pasted the code to match exact. anywho, its stating that it at the `$.ajax({` line. <script> $(function(){ $('.get-msg').click(function(){ var id = $(this).attr('data-id'); $.ajax({ type : 'GET', url : 'viewmessage.php', data …

Member Avatar
Member Avatar
+0 forum 4

> 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"; ?> > Initialize Map map = new GMaps({ el: '#map', lat: 24.8615, lng: 67.0099, zoom: 12, zoomControl : true, zoomControlOpt: { style : 'SMALL', position: 'TOP_LEFT' }, circleOptions: { fillColor: '#ffff00', fillOpacity: 1, strokeWeight: 5, clickable: false, editable: true, zIndex: 1 }, panControl : false, streetViewControl : false, mapTypeControl: false, overviewMapControl: false, …

Member Avatar
+0 forum 0

<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: 900;">@index.Index.bytime</span> </div> <div id="id1" class="list-group-item" data-target="@Url.Action("Live", "home")"> <span class="badge" style="font-size:10px;color:#fff" id="LiveMatchesNumber">0</span> <span style="font-size:10px;font-weight: 900;">@index.Index.livematches</span> </div> </div> this is my script $(function(){ $.ajaxSetup ({ cache: false }); var ajax_load = "<img src='http://automobiles.honda.com/images/current-offers/small-loading.gif' alt='loading...' />"; var loadUrl = $(this).attr("data-target"); $("#id1").click(function(){ $("#mainInfo").html(ajax_load).load(loadUrl); }); });

Member Avatar
Member Avatar
+0 forum 1

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; padding: 7px 8px; width: 250px; outline: none; margin: 10px 0 10px 0; } select option{ font-family: Georgia; font-size: 14px; } </style> <script src="jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#country').on('change',function(){ var countryID = $(this).val(); if(countryID){ $.ajax({ type:'POST', url:'ajaxData.php', data:'country_id='+countryID, success:function(html){ $('#state').html(html); $('#city').html('<option value="">Select District</option>'); } }); }else{ $('#state').html('<option value="">Select Bank</option>'); $('#city').html('<option value="">Select State</option>'); …

Member Avatar
+0 forum 0

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 button for the 1st time,the function work fine.But when the user click on the button for the 2nd time,error occur. Here's my coding in javascript function updateprintingqc(this_, idschedule,idmsul,articleno,part_name,remain) { var conf = confirm("Are you choose to Update this Row of Record?"); if (conf == true) { var url = "msp/updateqc?id=" …

Member Avatar
Member Avatar
+0 forum 2

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 audio file is 4mb and it is taking 1 minute to 4 minutes for uploading to server. $(document).on("click", "#save:not(.disabled)", function(){ Fr.voice.export(function(blob){ var formData = new FormData(); formData.append('file.wav', blob); formData.append('question_id',question_id); formData.append('test_id',test_id); formData.append('section_id',section_id); formData.append('sub_section_id',sub_section_id); $.ajax({ url: "https://www.example.com/pte/upload", type: 'POST', data: formData, contentType: false, processData: false, success: function(response) { if(response.status=="success"){ $('#recording-status').html("Recording save successfully."); …

Member Avatar
Member Avatar
+0 forum 1

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 proxy controller function is called private function proxy($grantType, array $data = []) { try { $config = app()->make('config'); $data = array_merge([ 'client_id' => 'm492pkQPkw5YGa2sBRFvLKPSfkhy9yLbU52DiyDL', 'client_secret' => 'X96evDo1jq067VMzQoq8UC4iMlfFmm2DTjPQCHba', 'grant_type' => $grantType ], $data); $client = new Client(); $guzzleResponse = $client->post(sprintf('%s/api/auth/authorize', $config->get('app.url')), [ 'form_params' => $data ]); } catch(\GuzzleHttp\Exception\BadResponseException $e) { $guzzleResponse …

Member Avatar
Member Avatar
+0 forum 1

The End.