923 Topics

Member Avatar for
Member Avatar for chris.immanuel

Hi Folks, I need help with my Project. I need to pull a value from the populated dropdown list using an ORACLE DB. When I pulled that value, I need to fill the quantity with the corresponding quantity value and show it to the user. And I also need to …

Member Avatar for Zoii
0
243
Member Avatar for Hanan_1

Hello everyone, I use the example from [Google](https://developers.google.com/maps/articles/phpsqlajax_v3) Now, I would like to know how to change center location from city to another city like this map in [example](http://http://www.enasher.com/billboards) please can you help me to know how becouse im new in google map and i have anthore question in my …

Member Avatar for Ajay Gokhale
0
379
Member Avatar for nileshbhanu

FB.api('/me', function(userInfo) { console.log(userInfo.email); var emailid = userInfo.email; console.log(emailid); }) $.ajax({ url: 'index.php?r=tryon/saveemailid', type:'post', data:{'saveemail':emailid}, success : function(data){ alert("success!"); } });

Member Avatar for nileshbhanu
0
332
Member Avatar for game4tress

I have the Ajax call listed bellow inside a jquery function, and the ajax call is not working. I've used "alert" to debug and its like the jquery function didn't even had the ajax call. Nothing inside it is processed, with no sucess and no errors. Isn't it possible to …

Member Avatar for dcdruck
0
455
Member Avatar for network18

Hi All, I have a ajax call in script like below - function testMe() { $.ajax({ type: "POST", url: "http://3.84.46.104/tloken/test/testAjax.php", // data: "ajax=1&elem=" + elem+"&clicker="+clicker, data: "ajax=1", method: "POST", success: function (html) { alert(html+' >>'); return false; // var response = html.split('@'); // document.getElementById(elem).innerHTML = ""; document.getElementById('cmbxCategory').innerHTML = ""; document.getElementById('cmbxType').innerHTML …

Member Avatar for network18
0
2K
Member Avatar for SimonIoa

Can anyone tell what would be the correct syntax for **data** var ev = $("#update").val(); var up=$("#upload").val(); $.ajax( { data: ______,

Member Avatar for SimonIoa
0
144
Member Avatar for renierdbruyn

I have a function that does certain checks, if the the checks fail, it will add values to a dict, i.e: outstanding = {} sims = [_sim for _sim in self.context.sims if unicode(_sim.iccid)] # for sim in [_sim for _sim in self.context.sims if unicode(_sim.iccid)]: print sims count = len(sims) if …

0
131
Member Avatar for hanan-kh

hi evrey on ineed your help in php &jquery im working in news site in news blok the image should be chang when a mouse move to defrent news title this is the templat <section class="box-nwes-con"> <a href="#"> <img src="images/sport-img.jpg" title="{title}" alt="{title}" /> </a> <div class="news-box-con"> <div class="title-news-block"><a href="#">{title}</a></div> <!-- …

Member Avatar for Bachu
0
292
Member Avatar for Alistair_1

i am using the below script as my basis for my ajax requests However whenever i run them i keep getting the error Uncaught SyntaxError: Unexpected token hr.onreadystatechange and Uncaught TypeError: Object [object Location] has no method 'load' hr.onreadystatechange Here is the code $('#ind_login_submit').on('click', function (e) { var vars = …

0
140
Member Avatar for SimonIoa

I have a problem with a script. i want to be able to create events and then to be shown with ajax this is the javascript/ajax $(".event_button").click(function() { $("#flash").show(); $("#flash").fadeIn(400).html('Loading Update...'); $.ajax( { type: "POST", url: "message_ajax.php", data: dataString, cache: false, success: function(html) { $("#flash").fadeOut('slow'); $("#content").prepend(html); $("#event_title").val('').focus().css("height", "40px"); $('#preview_event').html(''); $('#eventvalues').val(''); …

Member Avatar for SimonIoa
0
221
Member Avatar for jj.dcruz

Hi there I'm having a problem uploading my file with a progressbar. the problems are 1. i cannot upload any photos at all 2. i cannot find/promt errors **here is my full codes:** this is for php <?php if(!empty($_FILES['file'])){ foreach ($_FILES['file']['name'] as $key => $value) { $file = $_FILES['file']['name']; $allowed …

0
101
Member Avatar for game4tress

I'm creating a chat system and the problem is that when testing with two users, the secound user (entering the system) can see the first user (already loged in), but the first user will never see the next user(s) entering the system. I know that the problem comes from the …

0
202
Member Avatar for SimonIoa

Hello, i want my users to be able to create events and the event to be shown on their wall. I have this that shows a photo that they upload. <div id="imageupload" class="border"> <form id="imageform" method="post" enctype="multipart/form-data" action='message_image_ajax.php'> <div id='preview'> </div> <div id='imageloadstatus'> <img src='<?php echo $base_url;?>wall_icons/ajaxloader.gif'/> Uploading please wait …

Member Avatar for SimonIoa
0
361
Member Avatar for james.lu.75491856

How would I use [web.py](http://www.webpy.org) to execute ASP/PHP server files? Or can web.py not do that and can someone provide me a python script that can execute ASP/PHP server files? Should I try posting this in the PHP forum, Web Design, html, and css fourm, or the Web development forum …

Member Avatar for cereal
0
368
Member Avatar for jkon

Some weeks ago I posted this and I realized from the referrals that it may help to be as a code snippet. This is an example of getting products details from categories – subcategories using ajax call. I am fond of OOP and this is not , but I believe …

Member Avatar for pritaeas
1
3K
Member Avatar for notacop

I have this checkboxes HTML Code: <input type="checkbox" class="calc" name="access[a]" value="1" /> <input type="checkbox" class="calc" name="access[b]" value="2" /> <input type="checkbox" class="calc" name="access[c]" value="3" /> <input type="checkbox" class="calc" name="access[d]" value="4" /> I need the following thing, i will explain it in an example: Example: User selects third and fourth fields, 7(3+4) …

Member Avatar for diafol
0
149
Member Avatar for eloginko

As you can see my current code doesnt work and i need your help guys...i want to filter in my search(textbox) and show the data filtered in there corresponding textboxes...can anyone help make my code work?? i've been looking in google for days already for the same idea of my …

Member Avatar for eloginko
0
276
Member Avatar for alexjewell

I'm using the Prototype framework to send a form via Ajax, and I'm using a form validation script ([url]http://tetlaw.id.au/view/javascript/...eld-validation[/url]) to validate the form. Both work beautifully by themselves. The problem is this: I need some way to merge the two so that the form submits after validation, and that the …

Member Avatar for Troy III
0
541
Member Avatar for game4tress

I have fields in a table that are being constantly updated with the current time (each second). First, the controller calls a function to create the record in the database public function saveEntry($theuser='') { $data = array( 'theuser' => $theuser , 'dateentered' => date('Y-m-d') , //date('d-m-Y H:i:s') , 'gname' => …

Member Avatar for Tpojka
0
299
Member Avatar for borovez

Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is a link that acts as a button, and once you click it, it POSTs an ID number of the button …

Member Avatar for pritaeas
0
6K
Member Avatar for Eagle.Avik

hi, i want ajax to be called only once, but insted it calls everytime when i click on the button. my script: $(document).ready(function(){ $("#modal-launcher-user").click(function(){ $('#preloader_image_edit').show(); $.ajax({ url: "image_edit.php", cache: false, }) .done(function( html ) { $("#preloader_image_edit").hide(); $( "#results_image_edit" ).append( html ); }); }); });

Member Avatar for Eagle.Avik
0
655
Member Avatar for safeer008

Hi Can I use the ajax to update a form feild by get a value of another feild on the same page(without submiting the page). This process involves the mysql as well.

Member Avatar for M.Waqas Aslam
0
107
Member Avatar for Daniel_18

AGH that was annoying...After typing this whole thing I went to register with Google+ and now I have to type it all again...anyways... I have a registration page on a CMS that I'm building. The first step in attempting to register is to enter an email address. Once it's entered, …

Member Avatar for Airshow
0
292
Member Avatar for singularity~

I have no idea why I cannot get jquery to parse a JSON array from a PHP server side call. Here is my jQuery $.ajax({ type:"POST", url:"/Home/Profile/cb_profile.php", data:{loadProfile: JSON.stringify(itemsToPost)}, success: function(data){ var returnedItem = $.parseJSON(data); }, error: function(e){ console.log("We've had a error"); }, }); Here is my PHP if(isset($_REQUEST['loadProfile'])) { …

Member Avatar for Dani
0
345
Member Avatar for ASHIQUE

Good day, I need help with my ajax based dynamic drop down list. Right now, ajax.php pulls up data depending on value at a single column. I need it to pull up data based on value at certain columns. I am new to php and its going over my knowledge. …

Member Avatar for pritaeas
0
369
Member Avatar for geneh23

Hey everyone, I'm trying to create a form to upload files and create links from the uploaded files to download for whoever visits that particular page. I've gotten the files to upload to the folder and display as a link but whenever I refresh the page, the links go away, …

Member Avatar for geneh23
0
335
Member Avatar for nadiam

Okay so i have page1.php which has anchor tags. what i want to happen is that when, for example, Page 2 is clicked it directs to page2.php but also will get data from database and display the data in the textboxes in Page 2. I know that ajax will be …

Member Avatar for patk570
0
950
Member Avatar for nadiam

hey guys. so i found the coding for submitting a form without refresh from a website( http://www.computersneaker.com/submit-a-form-without-page-refresh-in-php-using-jquery/) but its not working. i just copy pasted the code to test it out but it doesnt submit the data. I wanted to ask the owner but didnt find any commenting area. <head> …

Member Avatar for Gaetane
0
3K
Member Avatar for patk570

Hello, I am looking for a calendar to use with my website that I can add tasks/appointments into the db and have them show on the calendar. I would like to edit on the fly either by using a page to create the task/appointment or via the calendar using ajax. …

Member Avatar for patk570
0
197
Member Avatar for patk570

Hello, I have a form that i would like to convert from JS onClick to AJAX, Here is my form: <form action="" method="post" name="filter"><input id="All" onClick="if(document.forms['filter'].elements['All'].checked)window.location.href='?page=1&amp;filter=All&amp;perpage=10'" name="All" type="checkbox" /><label style="background:#008080; font-size:small" for="All">All</label> <input id="Pending" style="background:#FF6262" onClick="if(document.forms['filter'].elements['Pending'].checked)window.location.href='?page=1&amp;filter=Pending&amp;perpage=10'" name="Pending" type="checkbox" /><label style="background:#FF6262; font-size:small" for="Pending">Pending</label> <input id="Complete" style="background:#7BCC70" onClick="if(document.forms['filter'].elements['Complete'].checked)window.location.href='?page=1&amp;filter=Complete&amp;perpage=10'" name="Complete" type="checkbox" /><label style="background:#7BCC70; …

Member Avatar for Airshow
0
484

The End.