15,688 Topics

Member Avatar for
Member Avatar for REMOTE_ADDR

Hello! I am creating live chat using AJAX. My script updates every 1 second. I'm interested if it's possible to update the chat, only the time of adding comment by someone. I want the server to send me request for my script, about chat updating, when someone add comment. thank's …

0
39
Member Avatar for gauri_agr

Hi All, I have one index.php like below ..... ...... <head> <script type="text/javascript"> ajax function to call page1, page2 etc... </script> </head> <body> <div id="leftcolumn"> <a href="javascript:ajaxpage('page1.php', 'rightcolumn');">Page1</a> <a href="javascript:ajaxpage('page2.php', 'rightcolumn');">Page2</a> <a href="javascript:ajaxpage('page3.php', 'rightcolumn');">Page3</a> </div> <div id="rightcolumn"><h3>Choose a page to load.</h3></div> <div style="clear: left; margin-bottom: 1em"></div> </body> </html> Now if …

Member Avatar for gauri_agr
0
101
Member Avatar for gauri_agr

Hi All, I am new to Ajax. I wrote my first script with the help of Google :) Please let me know the mistake. I have three menu and it is supposed to load three pages. I used firebug but unable to see any error. [code=ajax] <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for gauri_agr
0
140
Member Avatar for nikita.chandra
Member Avatar for chintan@dani
0
81
Member Avatar for leroi green

hey guys i have a image around 995x700. and i'm about to change up a couple things on a site i'm working on and want to add a mouseover event (or something like that) to it. i certain areas, i would like the user to mouse over and see a …

Member Avatar for capn
0
126
Member Avatar for pssubash
Member Avatar for hielo
0
105
Member Avatar for yo2010

can anyone plz tel1 me about the horizontal scrolling in javascript????means another web page slides over another web page...

0
63
Member Avatar for phpbeginners

Hi All, I just want to share my simple program :-) [url]http://www.momococo.com/nmbp/ajax/virtual_edc_sales.php[/url] Isaiah 9:6, Isaiah 7:14, Matthew 1:22-23, Jude 1:5, 1 John 4:2-3, I Timothy 3:16 [url]http://armandecastro.wordpress.com[/url]

0
84
Member Avatar for RazorRamon

I am very new to Javascript... More of a php kinda guy. However I have a question regarding the old explorer browsers. I'm using transparent pngs on my site that rollover when the mouse hovers over them. Obviously the pngs are not looking so hot in the old explorer but …

Member Avatar for Airshow
0
104
Member Avatar for anandhikrishnan

hi all, I have a html code like <select id="search"> <option id="21" value="internal"> . . . using document.getelementbyId("search").value i get internal but i need to get id of internal.. how can i do that help me..

Member Avatar for Airshow
0
104
Member Avatar for Roebuc

Hello, I am trying to find how to use custom tags in html and render data based on their use. A good example is the joomla <jm:whatever> tag. I found the following article: [url]http://msdn.microsoft.com/en-us/magazine/cc301515.aspx[/url] I think it might be outdated though because the behavior:url element does not seem to work. …

Member Avatar for Roebuc
0
136
Member Avatar for techie929

Can anyone suggest how can i parse the below xml file using jQuery? <attendees> <attendee>83b802430047d026858de37c8aa3dec5</attendee> <attendee>ab4925dc6a2d92e15de675aefe497e46</attendee> <attendee>27f865406965950e915b2f6e7128ba1d</attendee> </attendees>

Member Avatar for hielo
0
56
Member Avatar for designershiv

Can anyHere my code: [CODE] <script language="javascript" type="text/javascript"> jQuery(document).ready(function() { $('#countdown_dashboard').countDown({ targetDate: { 'day': 17, 'month': 9, 'year': 2010, 'hour': 1, 'min': 0, 'sec': 0 } }); }); </script> [/CODE]

Member Avatar for hielo
0
142
Member Avatar for yopirates

hey guys i have used jquery tabs in my website design. In one page i have 4 tabs and in each tab i have save and clear option . if i click on tab 3 and enter the contents and then save its returning back to tab1! I want it …

Member Avatar for yopirates
0
166
Member Avatar for queryme

Hi I Have a web method on the Server. Below Is My Web Method. ASP.NET Syntax (Toggle Plain Text) [WebMethod] public string GetAge(int year, int month, int day) { DateTime birthDate = new DateTime(year, month, day); long age = new DateTime(DateTime.Now.Ticks - birthDate.Ticks).Year - 1; return "You are " + …

Member Avatar for Andrey Luiz
0
115
Member Avatar for dev.vini

<?php require("db-connect.php"); $slt ="SELECT * FROM assingment2 ORDER BY user_id asc"; $qry =mysql_query($slt); ?> <html> <head><title> </title> <script language="javascript" type="text/javascript"> function setcourse() { var index_name=document.frmselect.name.selectedIndex; document.frmselect.course.selectedIndex=index_name; } </script> </head> <body> <form name="frmselect" id="frmselect" action="" method="post"> <table align="center"> <tr> <td><b>NAME</b></td><td> <?php while($ftch =mysql_fetch_array($qry)) { echo'<select name="name" id='.$ftch['user_id'].' onChange="javascript:return setcourse();">'; echo '<option …

Member Avatar for Andrey Luiz
0
116
Member Avatar for apollokid

Hi,I just want to know if there is a script to display jquery when on mobile devices and flash when on computer browser? Any help would be greatful! :)

Member Avatar for Andrey Luiz
0
57
Member Avatar for RyanDev

Hi everyone, I have a simple javascipt code, everything works great but checking the username's and email's avaibility takes too much time. Here is the code : [CODE] $('.send').click(function(){ $(".error").hide(); var hasError = false; var mail = $('#mail').val(); var user = $('#user').val(); var pass = $('#pass').val(); var phone = $('#phone').val(); …

Member Avatar for Andrey Luiz
0
100
Member Avatar for chillipit

I'm having problems with a JavaScript function not firing and I can't figure out why not. I'm opening a pop-up window which needs to pass some variables back to the opening window. I've used this code elsewhere with no problems and I've copied it and changed some of the details …

Member Avatar for chillipit
0
892
Member Avatar for intsam

Hi Guys, I'm kind of new to this forum. Is any body here know/have information about creating a web crawler in Java Script? Please do help me if you have any kind of inormation. Thank u :)

Member Avatar for aquilax
0
62
Member Avatar for keeda

Hi, As part of my class project, I am planning to come up with an online game. I have a basic idea in mind where I want my object to move/follow as per my mouse movement on the browser, can someone please give me pointers/links where I can study more …

0
57
Member Avatar for josiefrut

Hi guys! I need to have a PDF viewer that wont allow users to save, copy, print, email& share online.. plainly just for viewing. any suggestion is appreciated. Thanks.

0
75
Member Avatar for dschuett

I have a form that I use for people to contact me on my website. I have been using server-side php form validation which has been working as it should. I decided to implement java script client-side validation using the jquery validation plug in. Ever since I added the client-side …

Member Avatar for dschuett
0
291
Member Avatar for pietpiraat

Hi everyone, i'm having a hard time achieving this: i have a table inside a form, with input fields ( price, qty, desc, total ( to be updated ), this works as it should with the following javascript: [CODE]<script type="text/javascript"><!-- function updatesum() { document.forms['hours'].elements['onktotal[]'].value = (document.forms['hours'].elements['onkqty[]'].value.replace(",", ".") -0) * (document.forms['hours'].elements['onkprice[]'].value.replace(",", …

Member Avatar for pietpiraat
0
1K
Member Avatar for ppetree

Sorry for the duplicate post... I just posted an AJAX forms generator that will read a MYSQL table, allow you to define how the fields are treated and then generate the necessary HTML, Javascript and PHP files to implement the form. You end up with a complete and working form …

Member Avatar for somedude3488
0
360
Member Avatar for greatunknown

I was wondering if there was any way to use Javascript (or any language) to select text located in a div for the user, and I dont mean "highlight", as in, change the background color, I mean to select the text for use in copying and pasting. ...I havnt come …

Member Avatar for greatunknown
0
78
Member Avatar for dschuett

I have a form that I use for people to contact me on my website. I have been using server-side php form validation which has been working as it should. I decided to implement java script client-side validation using the jquery validation plug in. Ever since I added the client-side …

Member Avatar for dschuett
0
189
Member Avatar for AndrewSmith

Heyyyy... I'm trying to get some AJAX going on in my website. It works FINE in IE 6, but when I try it with Mozilla FireFox, nothing happens. Can anybody see anything wrong with the following javascript code? [code] function makeRequest(url, divID) { var http_request = null; try { http_request …

Member Avatar for intsam
0
2K
Member Avatar for turverey

I have several functions in a .js file that collect various types of information from the visitor, let's just say they are strings, and want to send that information to my database. I have no problem putting the information in my database once I get everything into PHP (I'm relatively …

Member Avatar for turverey
0
117
Member Avatar for akshayinbox

Hello. I don't know how to use AJAX. Can someone please help me? I'm using an iframe to display percentage of file uploaded. The iframe refreshes itself every 2.5 seconds. It's okay for now, but not a practical solution. I need iframe to refresh but, it shouldn't look like its …

Member Avatar for akshayinbox
0
176

The End.