Featured Editorial

Latest Topics

Member Avatar

[B]How to Change default settings for ACT HTML Editor?[/B] I want to load editor with for example Selected Bold Button or with rtl direction instead of ltr defaultly. How can I perform that? I overrided FillTopToolbar() method to add Custom buttons but I dont Know how to change default settings. as Default ltr is selected I want to change it to rtl.

Member Avatar
+0 forum 1
Member Avatar

Hi, okay i've spent hours in the web searching for the right image slideshow/gallery to use for my website but in vain! Dont get me wrong the jQuery, Ajax scripts i've seen so far are so good but they all use lists to load all the images at once and yet i'm targeting an area with not-so-much-bandwidth. Is there an image gallery script around that uses ajax to maybe fetch an image from an external file and display it on the page? hope this makes sense! thanks for your help!!

Member Avatar
+0 forum 2
Member Avatar

Zend Technologies today is set to announce a series of alliances intended to allow its PHP framework and development environment to work with other widely deployed RIA technologies from Adobe, Dojo and IBM. In a keynote speech at [url=http://www.zendcon.com/ZendCon08/public/content/home]ZendCon[/url], the company's annual PHP developer conference in Cupertino, Calif., Zend CEO Harold Goldberg reportedly was to deliver the news. The most far-reaching collaboration will be with Adobe, and is aimed at simplifying development of PHP application that combine PHP with Flex, the company's popular framework for developing rich Internet applications. I received advance copy of an embargoed document, in which it …

Member Avatar
+0 forum 1
Member Avatar

i am using the following JQuery function to successfully POST data to the user_submit.php file, its just that the php file is unable to receive the data. [CODE] $(function() { $("#submit_js").click(function() { $.post("user_submit.php", { comment: $("#comment").val() }); }); });[/CODE] upon finishing the Firebug consoloe shows this: [CODE]<html> <body> Your vote was successfully registered!any text but this </body> </html>[/CODE] I am pasting the entire user_submit.php file here: [CODE] <html> <body> <?php $vote = $_REQUEST['vote']; $aid = $vote; //$comment = $_REQUEST['#comment']; //$comment = print_r($_POST); $comment = htmlspecialchars($_POST["comment"]); //$comment = $_POST['comment']; //echo htmlspecialchars($comment); //$comment = $_POST['comment']; //echo $comment; // include configuration file include('config.php'); …

Member Avatar
+0 forum 3
Member Avatar

Hi, I have an ajax script that sends a request to a servlet for information to be inserted into a table cell. The servlet then handles the request and replies with something like this: (I took the liberty of removing all the out.println tags) [CODE] <script language='javascript' src='whiteWine.js'></script> <table align='center' border='0'> <tr> <td align='center'> <img src='Images/Buttons/Small/left.png' id='leftButton' onclick='prevPicture()' onMouseOver="changeOver('leftButton')" onMouseOut="changeOut('leftButton')" > <img src='Images/Buttons/Small/right.png' id='rightButton' onclick='nextPicture()' onMouseOver="changeOver('rightButton')" onMouseOut="changeOut('rightButton')" > </td> </tr> <tr> <td colspan='2' align='center'> <img id='mainPicture' src='Images/Wines/White Wines/whiteWine01.png' /> </td> </tr> [/CODE] For some reason, however, all the scripts functions cannot be found on the page. If I attach the …

Member Avatar
+0 forum 4
Member Avatar

Hello friends, I am trying to use the Ajax control i.e. Scriptmanager, to get the data from the server asynchronously (without postback). For this as per the guidance given by MSDN, I have code in my system. I have used following psuedo code... [Code] <ScriptManager ID="..."> <ScriptService path="ABC.asmx"/> </ScriptManager> <script> function check() { ABC.ABC.Hello(string.value, onresult); } function onresult(result) { alert (result.value); } </script> [/code] I am able to test my web service through the browser and it is giving expected result. But it is giving error that it cannot found the ABC.ABC object. Is anything I am missing here? In …

Member Avatar
+0 forum 3
Member Avatar

I have a php user front-end and would like to validate a some fields to stop duplicates the database is oracle and the form is quite large i was wondering if it is possible with Javascript or ajax to run a select statement using php code check the values and return true or flase without refeshing the page like with ajax in asp.net

Member Avatar
+0 forum 3
Member Avatar

Is there a way to send a large amount of data through AJAX to a PHP script? Almost all tutorials say to modify the URL to equal whatever variable your trying to look up. I am wondering if it is possible to pass infomation to the server through an XML or HTML document? Because having a whole array of information in the address bar can be kind of cumbersome.

Member Avatar
+0 forum 3
Member Avatar

I have written a javascript function that calls a web service to save data. When the web service is called an alert pops up saying [I]the server method saveUpdateCodes failed[/I], and it gives no other information. The thing is the web service executes and throws no errors (I've stepped though it). Also, the alerts in the catch in the javascript code never happen. Does anyone no how this can happen? Could it be the browser, my code...? For testing, I am using Firefox w/ the firebug plugin. The javascript code is below, if you need more information, please ask. Thanks. …

Member Avatar
+0 forum 5
Member Avatar

i have all the fields working. now i just need the user information as well as my created images into my sidebar div id="badge" and div id="results" every time i hit submit it clears the form rather than posting it. what am i missing? [CODE]// JavaScript Document function setupForm() { } function validateData() { var fname_valid = false; var lname_valid = false; var phone_valid = false; var email_valid = false; var url_valid = false; // variables are for images to go next to success and error... //SUCCESS IMAGES (check mark) var cmark_fname = document.createElement('img'); cmark_fname.setAttribute('src','img/c_mark.jpg'); var cmark_lname = document.createElement('img'); cmark_lname.setAttribute('src','img/c_mark.jpg'); …

+0 forum 0
Member Avatar

Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either XML or pure text: The response is now "false" if the user couldn't log in for some reason, and the users ID and real name if the login went well... But then the problem: if login IS ok - so that the users ID and real name is returned from …

Member Avatar
+0 forum 4
Member Avatar

How to use Ajax for thumbnails navigation.The thumbnails have been genereted by PHP.

+0 forum 0
Member Avatar

Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, and I can't just see what's wrong! Please take look at the code below: [CODE] function createXMLHttpRequest() { var request = false; /* Does this browser support the XMLHttpRequest object? */ if (window.XMLHttpRequest) { if (typeof XMLHttpRequest != 'undefined') { /* Try to create a new XMLHttpRequest object */ try …

Member Avatar
+0 forum 1
Member Avatar

clienthint.js [CODE] var xmlhttp; var parameters=""; function showHint(url) { var myform = document.forms[0]; if (myform != undefined) { parameters = getRequestBody(myform); } if (url.length == 0) { document.getElementById("txtHint").innerHTML = ""; return; } xmlhttp = GetXmlHttpObject(); if (xmlhttp == null) { alert("Your browser does not support XMLHTTP!"); return; } xmlhttp.onreadystatechange = stateChanged; xmlhttp.open("POST", url, true); xmlhttp.send(parameters); } function stateChanged() { if (xmlhttp.readyState == 4) { document.getElementById("txtHint").innerHTML = xmlhttp.responseText; } } function GetXmlHttpObject() { if (window.XMLHttpRequest) { // code for IE7+, Firefox, Chrome, Opera, Safari return new XMLHttpRequest(); } if (window.ActiveXObject) { // code for IE6, IE5 return new ActiveXObject("Microsoft.XMLHTTP"); } return …

Member Avatar
+0 forum 12
Member Avatar

Hi all,suppose i got two rows like this picture [url]http://i575.photobucket.com/albums/ss197/yonghan79/ask-1.jpg[/url] I'm trying to change the modified column value to current datetime without refreshing the page when i click the update button..The first row worked,the second doesn't work..Here is my codes views/order_home [code] <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.js"></script> <script type="text/javascript" src="<?php echo base_url(); ?>js/jquery.form.js"></script> <script type="text/javascript"> // wait for the DOM to be loaded $(document).ready(function() { $("#msg").hide(); $('#myform').ajaxForm(function() { var no_id=$('#no_id').val(); $.post("getOrder/", { 'id' : no_id }, function(data){ $('#modif').html(data.modified); }, "json"); //nampilin di div message string yg ada di dalam html() $("#msg").html("Berhasil update order").fadeIn(1500); $("#msg").fadeOut(1500); }); }); </script> <h1><?php echo …

Member Avatar
+0 forum 1
Member Avatar

Hi, I'm developing an AJAX website, and I want to make it compatible with most browsers and its many versions in the market. I've been using IE, FF and Chrome, for many years, and I know his popular versions (not everyone updates, you know), but I never used Opera, and I want to make my site opera-friendly, so, I wan't to know (besides the latest version) wich version of Opera browser is popular in the browser market? Thanks! Omar

Member Avatar
+0 forum 2
Member Avatar

I am developing a website in ASP.net and I would like to be able to track the mouse movements whilst a user of the site is browsing pages on the site and be able to store the duration in seconds of how long the cursor is left in specific areas on the user's screen (blocks of areas on the screen) back in my site's database. Is there a .net class which can handle this or can I only do this in JavaScript or AJAX? I am sure that mouse tracking can be done in Javascript but I can't really store …

Member Avatar
+0 forum 3
Member Avatar

I have a select box with information about people in it. When you click on their name in the select box, I'm trying to display information (Name, Address, Height, Weight) about them inside of a <div>. Here is what I have so far: [CODE]<form> <SELECT NAME="list1" MULTIPLE SIZE=20 class="set_width" id='developer'> <option value=43>John Doe </option> <option value=42>Jane Doe </option> <option value=38>Bob Smith </option> </SELECT> </form> <div id="output"> </div>[/CODE] [CODE]<script type="text/javascript"> $(document).ready(function(){ $("#developer").change(onSelectChange); }); function onSelectChange(){ var selected = $("#developer option:selected"); var output = ""; if(selected.val() != 0){ output = "You Selected " + selected.text(); } $("#output").html(output); } </script>[/CODE] Now, what I …

Member Avatar
-1 forum 2
Member Avatar

Apologies for the huge post! I am having trouble with ajax right now on my site: (This site is only a first draft and has a few nav problems with the flash - will sort it soon) My main problem is I have an Ajax code on the index page that loads content into a div. (this works real good!) but... when I click a button and load the content into the div I now want to click links inside that div and reload new content into the same div. I have tried many times and just do not know …

Member Avatar
+0 forum 4
Member Avatar

With all the libraries available that have emerged, Java and Ajax applications practically build themselves these days. This week Java tool maker Instantiations added support for Ext GWT to [url=http://www.instantiations.com/gwtdesigner/]GWT Designer 7.2[/url], the latest version of its Eclipse-based drag-and-drop GUI-building environment that can be had for as little as $5 a month. Also known as GXT, [url=http://www.extjs.com/products/gxt/]Ext GWT[/url] builds on the [url=http://code.google.com/webtoolkit/]Google Web Toolkit[/url], adding a slew of customizable UI widgets and CSS-based themes, plus full documentation and backward compatibility. It's made by Ext LLC. And if you're currently building Web apps and you haven't hard of them, a look …

+1 forum 0
Member Avatar

Hi, I'm starting to learn Ajax after playing around with JSP and Javascript, I felt the need for interaction without reloading the page. I've searched everywhere for a simple java servlet/ajax example that I can play around with but just found a lot of asp and complex java examples. Could someone please give me something as basic as typing a name in a text field and text being displayed beneath the text field after the word/letter has been typed. i.e. User must enter a name that is 3 or more letters else the text says "Error". I'm currently using Netbeans, …

Member Avatar
+0 forum 11
Member Avatar

Hi, I am currently writing a chatprogram, and it works fine in FF but it doesnt refresh as it should every 1500ms (set with setInterval("retrieve_messages()",1500) in body tag) in IE. The object ajax is made in previous code. I wrote the following code: [code] function retrieve_messages() { // Checks wether the object is available: if (ajax) { ajax.open('get', 'messageretrieve.php'); // Sends request ajax.send(null); // Function that handles response ajax.onreadystatechange = setTimeout("show_messages()", 500); } else { // AJAX is not useable document.getElementById('warning').innerHTML = 'It is not possible to connect, please update your browser.'; } } // End of retrieve_messages() // Function …

Member Avatar
+0 forum 4
Member Avatar

Hi and I have been looking around and found that google has a few search api's but haven't yet found one that returns the results as a javascript/ajax array. Is it possible to at least get the google api to send the results to my website as a variable/array in javascript/ajax/php because can't see any reference to this. PS. This is in the php section because all results will eventually end up in php. Also I tried the file_get_contents() function and curl on the google homepage but google knows it's a bot.

Member Avatar
+0 forum 5
Member Avatar

Hi, I was wondering if there's a framework that can help me with the following: I currently have regex checks on html input fields that work 100%, I would like to also have a check to the database for duplicate records so that if the user enters an ID that is already taken, an alert will pop up and inform the user of this. --It would be easy to do it on the serverside, however, I need to do it once the page has already loaded, therefore, at runtime. Any suggestions? Perhaps open source code is out there for this …

Member Avatar
+0 forum 1
Member Avatar

I'm a newbie in programming. I spent few hours yesterday and today working on a small AJAX page with multiple combo boxes that are populated from the database. I use IE6 99% of the time and I utilize the excellent . I almost done with the page (I’m pretty proud of it too) so I decided to show it to my work buddy. On both IE8 and opera, my beautiful double combo boxes just failed miserably. A part of what I was doing was to populate a double combo box with dynamic data from the database. I created an empty …

+0 forum 0
Member Avatar

If you’re a Ruby or Python developer building AJAX applications, you’ve got to learn JavaScript. Even if you’re converting Ruby code to client-side JavaScript with a tool like [URL= http://www.scribd.com/doc/220397/RJShow-it-works] RJS[/URL], it can still be helpful to know the AJAX component for adding features and debugging. Now Microsoft is promoting APAX and ARAX, techniques similar to AJAX that supplant JavaScript with Python and Ruby languages commonly used on the server side of the dynamic Web apps. The news was brought to light last week at O’Reilly’s [URL=http://en.oreilly.com/rails2008/public/content/home] RailsConf[/URL] by Microsoft’s [URL=http://www.iunknown.com/]John Lam[/URL], who was there giving a talk on his …

Member Avatar
+0 forum 1
Member Avatar

It’s that time of the year again, and the Microsoft Tech.Ed Developers Conference 2006 Europe has hit the beautiful city of Barcelona, capital city of Catalonia in Spain. Hot off the press news for today is the keynote speech by Eric Rudder, senior vice president of technical strategy with Microsoft. In this, Rudder revealed the new technologies for building ‘next generation applications’ to more than 3000 developers attending the conference. He highlighted the releases of Microsoft .NET Framework 3.0, Microsoft Visual Studio 2005 Tools for Office for the 2007 Microsoft Office system and ASP.NET AJAX, as well as urging the …

+0 forum 0
Member Avatar

How much money does Microsoft need? As much as possible would appear to be the answer, considering that it has announced a $1.50 fee to download the Office 2007 Beta as from August 2nd. Claiming a requirement to cover server costs as a result of the 3 million people that have already participated in the trial in just a couple of months. This is, according to Microsoft, 500 percent more than was expected and hence the need for “a cost recovery measure” for future downloads although the online test drive version will remain free. Well whoopee doo on the generosity …

Member Avatar
+0 forum 3
Member Avatar

Good question, but the answer may not be as straightforward as the announcement this week by Microsoft, and the ongoing online media coverage, suggests. The impression given is that Microsoft is supporting the Open Document Format in Office 2007 by sponsoring an open source based translator. This will take documents in the native Office 2007 Open XML format and convert them to ODF ones. Great stuff considering that ODF did not even exist in the Microsoft universe as recently ago as 2005, what with it being a rival format and all, indeed, some would say THE rival as ODF is …

+0 forum 0
Member Avatar

Reports of the death of PDF support within Office 2007 and Vista are not only presumptuous but wrong. Despite the high profile publicity given to a spat between Adobe and Microsoft over the ‘Save as PDF’ function seen in the [URL="http://www.microsoft.com/office/preview/beta/getthebeta.mspx?showIntro=n"]Office 2007 Beta[/URL], there is no doubting that users will be able to do just that in the release version. What they won’t be able to do is do so out of the box. Instead, a totally free and downloadable plug-in will be made available by Microsoft. Apparently there have been discussions ongoing between [URL="http://www.adobe.com"]Adobe [/URL]and [URL="http://www.microsoft.com"]Microsoft [/URL]for the best …

+0 forum 0

The End.