15,127 Topics

Member Avatar for
Member Avatar for vizz

[CODE]<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ var ele = $('#scroll'); var speed = 25, scroll = 5, scrolling; $('#scroll-up').mouseenter(function() { // Scroll the element up scrolling = window.setInterval(function() { ele.scrollTop( ele.scrollTop() - scroll ); }, speed); }); $('#scroll-down').mouseenter(function() { // Scroll the element down scrolling = …

0
103
Member Avatar for sashaiel

Hi guys, I'm totally new to here and Ajax and coding. so Apologize If my question is funny. ok. so I have a website here :[URL="http://www.spacescientific.com"]http://www.spacescientific.com[/URL] when your mouse go on links in website an yellow ajax page opening and show intro of article. now I want to limit number …

0
69
Member Avatar for xuexue

[U]this is my code in php:[/U] [CODE]<?php echo "Hi!"; ?>[/CODE] [U]this is my code in javascript:[/U] [CODE]alert(xmlhttp.responseText);[/CODE] now, my problem is that the output displays: "1Hi!"; even though i will not display an output in php, still a "1" appends in the beginning of the alert box. What could be …

0
114
Member Avatar for ebolt007

I'm making a comment area where I have multiple posts, the posts are wrapped in a loop where the ID pulls in the correct post, and then below each post is an input area that I am trying to use ajax to post the response. I can get this to …

Member Avatar for Airshow
0
215
Member Avatar for silverwatersask

new to ajax. not that good at javascript. I have the following code which uses ajax to get data from a mysql database with php once I call the ajax function to get the data....I want to use the data in the main script but I have not been able …

Member Avatar for silverwatersask
0
1K
Member Avatar for etonyali

Hey guys, I was wondering how would I save an image to my local host on page onload. For example, Whenever I will go on my x.html or x.php page I want my IMAGE.jpg to be saved on my localhost server location and if there a file that is same …

0
42
Member Avatar for feblioz

anyone know whats the code to make the header to stay in place like facebook does? the home, profile and setting navigation stays on top

Member Avatar for feblioz
0
90
Member Avatar for rainny

Hi everyone. I have two dropdown lists 1 with company name and the other with company branch. when the company name is selected, the value goes into a textbox. when the dropdown box value changes it changes the second dropdown box to find related company branches. i'm having a problem …

Member Avatar for rainny
0
216
Member Avatar for phorce

Hello, I have two paragraphs on my page and I need to draw a line between them. Now, I currently store the positions of the two paragraphs inside a database and I have access to them, I just don't know what to do from here. Some people have suggested I …

Member Avatar for vsmash
0
139
Member Avatar for thepanther

having abit of trouble with this code here is wot i want to do but dont seem to be working like that can someone help please.. thanks Promt the user to answer the 10 questions, record the answers and compare them to the correct answers. Once the user has answered …

Member Avatar for thepanther
0
155
Member Avatar for vizz

How to create watermark using jquery and css? I want to print text on image using javascript in diagonal direction.

Member Avatar for stbuchok
0
143
Member Avatar for Que336

Hi guys, please help me out with this. I'm seriously considering suicide. I have three buttons that load numbers into divs. The problem I'm having is that the buttons only seem to work once. Any idea as to why this is happening? You help will go a long way. [CODE] …

Member Avatar for Que336
0
4K
Member Avatar for jdgieschen

I've got a form which searches my database dynamically using ajax every time someone makes a change to it. Problem is, it doesn't perform when I change the slider... only when I change like a checkbox or something. Should be pretty simple to solve, but I'm just not seeing it. …

Member Avatar for jdgieschen
0
252
Member Avatar for Que336

I've had a nightmare over the past couple of weeks wondering why my code wasn't working in ie. I've finally realised that it was because I was using textcontent which works fine in firefox. I tried using innertext and it worked fine in ie but stopped working with firefox. Chrome …

Member Avatar for Troy III
0
1K
Member Avatar for Cornwell

I've searched Google and although there are several hits in this general area, none matches my issue. The problem is on [URL="http://stmarytheboltons.org.uk/hall/index.html"]this page of a church web site[/URL] where they are hiring out the hall. It's supposed to cycle through four pictures and that works in Firefox and Chrome and …

Member Avatar for Cornwell
0
1K
Member Avatar for trektrak

I need help on javascript.... ok this is what I got from w3 school... [CODE]<html> <body> <script type="text/javascript"> var d = new Date(); var time = d.getHours(); if (time < ) { document.write("<b>Good morning</b>"); } </script> <p>This example demonstrates the If statement.</p> <p>If the time on your browser is less …

Member Avatar for Troy III
0
209
Member Avatar for florin1

hello guys. I have a html page with jquery drag and drop serialize. Every time i move an item the script auto-updates position in a database. But i don`t want it do update automaticaly, i want to press a button for submision. Can you help me add a button to …

Member Avatar for stbuchok
0
128
Member Avatar for maxxx2000

[B]hi i want to restrict my input field to number only. iwant to do this in jquery can some one help me[/B]

Member Avatar for rajeevphp2011
0
93
Member Avatar for Ana D.

Hi, I'm new using AJAX and I'm developing a page where I need to populate a CheckBoxList based on what the user types (it's like an AutoSuggest). I don't know how to bind the checkboxlist from the database using AJAX. My code in VB.NET is something like this: [CODE]Dim DatabaseConnection …

Member Avatar for chinnudhilip
0
533
Member Avatar for paulaandrea

Hi, I am new in programing, I want to save images from google-images, I can use filter for only use the free ones. I use a google API, I have the URL and I want to pass to php, but I dont know how to pass from java-script to php. …

Member Avatar for paulaandrea
0
400
Member Avatar for elbeato

For some reason this ajax call sends data to the php file fine, and the MYSQL call works, but the php does not return anything to the ajax. I'm not sure if it's an issue with the ajax call or the php (I suspect the former). Could it have something …

Member Avatar for elbeato
0
174
Member Avatar for navp

Hey guys, so I am trying to do an animation rollover image for this gallery and I did make one of the design but the image is absolute and the positioning changes when I change the screen size. Is there a way I can fix that? I know about enclosing …

Member Avatar for elbeato
0
203
Member Avatar for dschuett

I am pulling more results from a database using getJSON/jQuery. The link works fine in Chrome, but in IE 9 I get the following error: "SCRIPT1002: Syntax error index2.php, line 2 character 1" which points to: [CODE]<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">[/CODE] However even if I remove the DOCTYPE it just complains …

Member Avatar for dschuett
-1
216
Member Avatar for fheppell

I want to create a redirect for anybody using: Mozilla Firefox 1.0.x Internet Explorer 1.0-5.x Safari 1.0-2.0.1 Opera 1.0-9.x I'm not sure how you do this (and yes, these are the browsers with jQuery problems. I need a jquery compatibility check)

Member Avatar for AleMonteiro
0
57
Member Avatar for simplypixie

I hope the title means something, I don't really know how to explain what I am trying to do in a few words. I think better with an example. I have a click event to display an enquiry form on a contact page: [CODE]$("#enquiry-form").hide(); $('.enquiry-form').click(function() { $(this).hide(); $('#enquiry-form').fadeIn( 'slow', function() …

Member Avatar for simplypixie
0
916
Member Avatar for VenusCrystal

HI, I am new to javascript.. I have been given javascript code to understand as my assignment where i am working and it goes something like this : [CODE]PPL.getMarkup = function(a,b,c) { // definition goes here }[/CODE] I want the explaination for this line as to what PPL, getMarkup could …

Member Avatar for VenusCrystal
0
197
Member Avatar for mlhazan

I am currently working on a blog page and I need to highlight codes.It will grow as time passes so I am thinking in a broad sense.Geshi looks nice codes are readable but draw back is server side.If a page has 3/4 file it may make it delay on the …

Member Avatar for pritaeas
0
122
Member Avatar for h2so4_2003

Hello, I would like to call simple 'hello world' in lightbox jQuery. I added the .js and .css files of it in appropriate folder. now how would I call it?

Member Avatar for Airshow
0
74
Member Avatar for kurtzky

Hi guys. Does anyone know the counterpart of Javascript's .pasteHTML method in Firefox and other browsers? It works fine only in IE. I'm using an FCK Editor as my WYSIWYG control. Here is my code snippet: [CODE]var oFCKeditor = FCKeditorAPI.GetInstance(objname); var selection = (oFCKeditor.EditorWindow.getSelection ? oFCKeditor.EditorWindow.getSelection() : oFCKeditor.EditorDocument.selection); var sRange; …

Member Avatar for Troy III
0
221
Member Avatar for samaustin

Hi Friends, can anyone provide me java script for asp.net calender control using regular expressions for mmm-dd-yyyy format. it must check whether the year is leap year or not and for month it should check whether it has 28or30or31 days and it should also check (jan-00-000 ) month year should …

0
37

The End.