15,120 Topics

Member Avatar for
Member Avatar for Torquai

Good morning. Is it possible to use ajax to refresh data in a javascript array? If so, please guide me so I can find out. I am trying to build a flexible website where the user can move certain elements of the page dynamically, and have the changes reflected to …

Member Avatar for diafol
0
292
Member Avatar for Vivek_13

array = [1, 2, 3, 1, 2, 4, 5]; for (var i = 0; i < array.length; i++){ for (var j = 0; j < i; j++){ //if (i != j) { if (array[i] == array[j]) { $('#result').append(array[j]+'Repate<br>'); } //} } $('#result').append(array[i]+'<br>'); } ## given output is 1 2 3 …

Member Avatar for parvez alam
0
271
Member Avatar for Labdabeta

Hello, I am working on a moderately large web development system and have been charged with developing the server-side application for the web site. As a primarily local developer I have by far the most experience in C/C++. My favourite language is Ada, just to give you a sense of …

0
279
Member Avatar for mgreiner28

Hello, I am currently working on modifying particular script I have in place. Specifically, I would like to transition the "open" (services_button) and "close" (services__cancel) buttons into a singular toggle element. Here is the script that I am attmepting to modify. Thank You in advance for the assistance. <script> (function() …

Member Avatar for LaxLoafer
0
288
Member Avatar for programmer12

HI , I am creating a social media site, but getting stumped on updating the status comment boxes. Currently, when a user post a comment to a status it updates in REAL-TIME (ajax) on their page, however, it does not on the clients side. How can I build a comment …

Member Avatar for ryantroop
0
164
Member Avatar for squeak24

OK, I have an HTML page that contains two scrolling divs. The two divs I have are: content-hoo-m content-hoo-s In both divs I have anchored links, for example <a href="#1">Link 1</a> <a href="#2">Link 2</a> <a href="#3">Link 3</a> <a href="#4">Link 4</a> These link to anchors in content-hoo-s. But when you click …

Member Avatar for squeak24
0
853
Member Avatar for UK-1991

Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you …

Member Avatar for UK-1991
0
244
Member Avatar for nevek

Hi, I have a stupid problem with jquery, On my htmlpage I have a div with id intakegesprekDates and when I try to add an element to it with jquery like this ` $("#intakegesprekDates").append("<div class='row form-group'><label>Datum gesprek</label>"+ "<div class='col-md-2'><input type='text' class='form-control' id='txtIntakeGesprek' name='txtIntakeGesprek'></input></div></div>"); ` My elements are shown in te …

Member Avatar for nevek
0
160
Member Avatar for AntonyRayan

Hi, I am new to this concept. I have data in my table in different languages like, English, French, Chineese, Serbian....) I want to display that languages in MPDF, how they are in table,. How to do that in MPDF? Which PDF format is best? FPDF or MPDF or TCPDF …

Member Avatar for diafol
0
105
Member Avatar for AntonyRayan

Here, I included my time difference code, but I am getting NaN error. How to do time difference in my code. I need my output like, 03 Hrs : 30 Mins Here is my code: /////Calculate time duration start/////// /*function calculate_Duration() { //var start_time = document.getElementById('start_time').value; //var end_time = document.getElementById('end_time').value; …

Member Avatar for Taywin
0
290
Member Avatar for Sagar_7

Can anyone please let me know how can I get the difference between two dates? Is there any function in c#? I've one more question can I check for value of the textbox like if value should be atleast 500 or more?? I want to use custom validators in c#.

Member Avatar for pritaeas
0
180
Member Avatar for AntonyRayan

Hai, I am new to this concept. After clicking the button it has to insert into database and has to refresh the div in jquery ajax. How to do?

Member Avatar for broj1
0
2K
Member Avatar for squeak24

OK, I am working on a website in HTML. I have an Overflow Div similar to this: <section id="content-wide-scroll"> <div id="scrollbar" class="content" style="left: 10px; top: -5px"> <!--Main Body Text --> <div id=“id1”></div> <h3>Anchor 1</h3> <br> Anchor 1 text here. Anchor 1 text here. Anchor 1 text here. Anchor 1 text …

Member Avatar for squeak24
0
335
Member Avatar for AntonyRayan

Hi, I used this code to translate in any language, what I am typing . It is working good. But, for English, I don`t know how to do? can anybody know it? <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <script type="text/javascript" src="https://www.google.com/jsapi"> </script> <script type="text/javascript"> // Load the Google Transliterate API …

Member Avatar for AntonyRayan
0
261
Member Avatar for Mushfik

How can I add parameter to this <a href="javascript:;" Or is there any way to post data on the same page on that link above Thanks

Member Avatar for Taywin
0
229
Member Avatar for Aeonix

It might be obvious, but I can't seem to understand it. So don't laugh. Let's assume this scenario. My website has 5 themes, there are 5 buttons. Clicking each button changes theme respectively and uniquely. I use JavaScript to do that, so I set name of theme in a cookie, …

Member Avatar for Aeonix
0
495
Member Avatar for castajiz_2

For the last 5 months I've tried to organize myself and my friends in order to collect some relevant information on news sites (information about global warming, pollution, ecology etc.) The only solution that I've found was to use a local search engine from the news site and type in …

Member Avatar for jwenting
0
248
Member Avatar for toxicandy

Hi all, I have been using this tutorial: [bootply.com](http://www.bootply.com/lxa0FF9yhw) and I almost have it working, the problem is that my table is generated VIA AJAX from a php file. Basically I see my table but no working pagination unless I open chrome web tools and go to console and paste …

Member Avatar for diafol
0
311
Member Avatar for Kadence

I'm looking for a graphic library to create a visual for data that involves between about 100 to 300 data points. Each set of data points covers a full day - so one day would have a few hundred data points total, and I'm looking to plot a graph of …

Member Avatar for diafol
0
253
Member Avatar for benard16

pls i need assistance on developing a school project site where one can upload and download(buy) school project material.. thanks

Member Avatar for hericles
0
138
Member Avatar for shabbir04

Hello everyone, Please help me to create a chained select box here i created something , but when i select 1st one its load 2nd one's options from database, but get 1st one unselected <form action="" method="post"> Username: <br><select name="productforuser" id="option" onchange="location = this.options[this.selectedIndex].value;"> <option selected value="no_user_selected">No User Selected</option> <?php …

Member Avatar for diafol
0
927
Member Avatar for darren2005

Hi, I am having issues with the following code: var seachHttp = function () { var cssSheets = document.styleSheets, // Loaded CSS Sheets i =0, il = cssSheets.length, // Counter and limit for sheets j, jl, rules, rule, // Counter and vars for Rules inside a Sheet stylesToSearch = [ …

Member Avatar for bigtalk
0
424
Member Avatar for phoenix254

Hi I am new in php programming and learning this i have found a small problem.I am trying to creating a file called lib.php, where i add all my files jquery lib downloaded in /js and css files.My directory look like this: ** -practise + /css + /js + /images …

Member Avatar for bigtalk
0
663
Member Avatar for toxicandy

Hi all, I am newish to Ajax, I've used it in the past in very rare circumstances and I understand for the most part how ajax works to combine client side and server side by sending information off to the server and displaying returned information from whereever it sent it's …

Member Avatar for toxicandy
0
2K
Member Avatar for Edwin_7

Forum Hello people, my name is Edwin Galician and I have a problem about the Facebook API in its version 5 and consists of the following, it turns out that on my local server, I work well, but the production version generates me inconvientens the most important so far is …

Member Avatar for cereal
0
254
Member Avatar for abhi10kumar

I am new in Symfony2. I am trying to get result from a drop-down using ajax and symfony; I did all the settings as it is which is mentioned in the documentation provided. But I am getting **POST http://localhost/docCMS/web/app_dev.php/getclientaddress/13 500 Internal Server Error** DefaultController.php /** * @Route("/getclientaddress/{id}", name="get_client_address", options={"expose"=true}) * …

0
135
Member Avatar for shany0786

i am facing small problem, i am not very good with ajax.what i want to check is email avaliblity through ajax and show no or yes.png code: <script type="text/javascript"> $(document).ready(function(){ $("#email_id").keyup(function(){ if($("#email_id").val().length >= 4) { $.ajax({ type: "POST", url: "<?php echo base_url();?>Traveller/email_is_taken", data: "email_id="+$("#email_id").val(), success: function(msg){ if(msg=="true") { $("#email_verify").css({ "background-image": …

Member Avatar for mangel.murti
0
245
Member Avatar for karthic2914

I have a query on session storage how to store three fields value in a single session storage. I have three fields two radio button (in different groups) and one drop down in the first page this is how my first will look like. I was not able to get …

Member Avatar for karthic2914
0
1K
Member Avatar for hell hansen

Hi guys! I need help with meta tags on my website! Look on all intire website i have more then 20 pages, and im using only one head.php and footer.php files. So i want to have a meta tags for each page, without dupicating the head.php, and i'm really struggling. …

Member Avatar for hell hansen
0
480
Member Avatar for shabbir04

Hello everyone.. this is my php code <div class="content-1 col-sm-12 nopadding"> <div class="list-header col-sm-1">Date</div> <div class="list-header col-sm-2">Product</div> <div class="list-header col-sm-2">Username</div> <div class="list-header col-sm-1">Quantity</div> <div class="list-header col-sm-1">Rate</div> <div class="list-header col-sm-1">Sale Amount</div> <div class="list-header col-sm-1">Payment</div> <div class="list-header col-sm-1">Balance</div> <div class="list-header col-sm-1">Remarks</div> </div> <?php $sql = "SELECT * FROM sale_history order by date …

Member Avatar for diafol
0
246

The End.