17,115 Topics

Member Avatar for
Member Avatar for showman13

Good Early Morning (just barely) I have an issue with a javascript function in <head> portion of a script apparently sending something to the browser that is preventing a redirect from working the way it was before I added this JS... Here is the JS that I added [CODE] <link …

Member Avatar for showman13
0
191
Member Avatar for Violet_82

Hi guys, I wonder if anybody can give me an advice. I am working at a photography site (as many of you might know by now :)) and I realized I made a pretty bad mistake, for the second time in a row unfortunately, which is to rely on javascript …

Member Avatar for Violet_82
0
201
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
106
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
73
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
115
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
217
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
44
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
91
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
218
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
141
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
157
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
148
Member Avatar for bavenbabu

What is the reason for this outputted XML file <?xml version="1.0"?> <table> <order> <id/> <name/> <age/> </order> <order><id>1</id><name>baven</name><age>44</age></order><order><id>1</id><name>baven</name><age>44</age></order></table> this is my database.xml page my full code is: <?php $url='database.xml'; $xml = simplexml_load_file($url); ?> <html> <head> <script type="text/javascript" src="jquery-latest.js"></script> <script type="text/javascript" src="jquery.tablesorter.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#myTable").tablesorter( {sortList: [[0,0], [1,0]]} ); …

Member Avatar for Biiim
-1
105
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
255
Member Avatar for cigoL..:)

Hello There, Please Help, I have a form that generates data from database. i have to select value from a combobox so that i can see the value. but i wanted that data from database to be the value of the radio button. is that possible?I haven't started yet? can …

Member Avatar for cigoL..:)
0
2K
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
212
Member Avatar for drelix01

I am having problem on this code of mine, I made a short javascript pop-up notice everytime a user logs a incorrect password or a correct pass, and when I typed the correct username and password, it is still invalid but when i delete these codes: [CODE]session_register('myusername'); session_register('mypassword'); $_SESSION['myusername']==$myusername;[/CODE] it …

Member Avatar for rajeevphp2011
0
150
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
129
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
96
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
540
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
175
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
219
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
60
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
919
Member Avatar for paldss

I have this piece of code that has a jquery mobile button. When the button is clicked, a search box appears. The problem is that where the code is now, the input box is shown using regular HTML, and does not have the nice, sleek, rounded formatting. If I move …

Member Avatar for peter_budo
0
121
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
200
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
125
Member Avatar for davy_yg

Hi, Can anyone help me fix the slideshow navigation ? [URL="http://www.masterlink.co.id/slideshow3%281%29.php"]http://www.masterlink.co.id/slideshow3%281%29.php[/URL] First, the navigation is far too far on the left. Second, how to erase the black bullet next to the round gray button ? Third, I would like those gray button to be on top of the slideshow just …

Member Avatar for davy_yg
0
118
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
77
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
224
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
39
Member Avatar for rotemorb

Hello Guys. my problem is this: I want to use this Jquery: [CODE] <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server"> <script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"> $(document).ready(function () { $("#tblGames tr:even").addClass("alt"); $("#tblGames div:odd").addClass("alt"); }); </script> [/CODE] in order to alternate coloring a table (zebra style) this is the table definition: [CODE] <table id="tblGames" runat="server" border="1" style="border-style: …

Member Avatar for pritaeas
0
484
Member Avatar for christos312

Hello, I have a question, I am using the following jQuery code to get some data from a database [CODE] $('#CountryA1').keyup(function(){ var country = $('#CountryA1').val(); $.get('test.php',{name: country},function(data){ $('#test').html(data); }) });[/CODE] Now, the <p> HTML tag with id test shows me these data [CODE][{"id":"4","Description":"Bosnia-Hercegovina"},{"id":"9","Description":"Cyprus"},{"id":"10","Description":"Czech Republic"},{"id":"17","Description":"France"},{"id":"20","Description":"Greece"},{"id":"21","Description":"Croatia"},{"id":"25","Description":"Iceland"},{"id":"28","Description":"Liechtenstein"},{"id":"32","Description":"Monaco"},{"id":"34","Description":"Macedonia"},{"id":"49","Description":"Vatican City State"}][/CODE] But using Chrome Inspect …

Member Avatar for christos312
0
189
Member Avatar for tabish saroha

Dear All, I am beginner and want to use ExtJS-3.4... Please guide me from start... I am very thankful to you...... Regards Tabish Saroha

0
56
Member Avatar for ivanhuk

I've an HTML table that I iterate through and grab an id column for every row that is checked. Jquery puts these values into an array that is then supposed to be passed to php post through an ajax function. The array is fine through HTTP post and Response (using …

0
77
Member Avatar for elbeato

Okay, enough's enough, I need some help. I've been trying to do a simple loop to fade three images in and out, one after another [ids are img1, img2, img3]. The code below only does the third image, and other things I've tried either do the same image three times, …

Member Avatar for AleMonteiro
0
95
Member Avatar for Ztruker

Sorry this is so long but I don't know how else to show and explain it. I tried setting this up on a free webs.com account but it doesn;t allow forms so doesn't work. I run an Apache server for my family's web site. One of the things it does …

Member Avatar for Troy III
0
248
Member Avatar for OldDeveloper01

I have followed some tutorials to create a registration form with some javascript. I have table to register new members to the website. then a parse_register to handle the php and then custom_js for the javscript. Well what is happening at the moment is that having filled in the registration …

Member Avatar for OldDeveloper01
0
433
Member Avatar for vizz

[CODE] <script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js"> </script> <script type='text/javascript'> $(document).ready(function(){ if($("#navlist li").height() > 7){ $("#navlist li").hover( function() { $(this).stop().animate({ top: '15px' }, 200, 'swing'); }, function() { $(this).stop().animate({ top: '0px' }, 200, 'swing'); } ); } else{} $('#navlist li').click(function(){ $('#navcontainer').animate({opacity: 1,"marginTop": 0,duration: "slow",easing: "easein"}, 1000 ); $('#navlist li').animate({ height: …

Member Avatar for vizz
0
110
Member Avatar for thehunk

hello ! i am working on extjs , i already post my question in sencha forum , now i am here to get some help , i want to send parameters when i click button , how can i do this , please help me , Regards

0
105
Member Avatar for desup

Hello, ths is one thing that is really shaking my heade O_o, I have got a Html and Javascript code, that contains about 1000 lines and I need to put it to php variable. Sure I was thinking about the [B]EOT[/B] method, But thare is one problem with it, if …

Member Avatar for desup
0
278
Member Avatar for maofree

Hi to all I use fancybox to show a logo at loading of the homepage, it's shown just for 2 seconds, but in the page there are other jquery effects, like a gallery and sometimes the images of this gallery are loaded before that logo (overlay popup), especially when the …

Member Avatar for maofree
0
194
Member Avatar for thepanther

hi i would like to change just part of my code to change the color of my answer to my maths game see the code [CODE]document.write("<br>3+2 = " + answer1 + " is incorrect - the correct answer is 5");[/CODE] see where it says the answer is 5 i would …

Member Avatar for thepanther
0
139
Member Avatar for rambo12

Hi I would like to know if I can use freeswitch with PHP for voice chat. I have downloaded the freeswitch software But I am not getting how to configure php with freeswitch where to use this in freeswitch can voice chat application be created using php. how freeswitch is …

Member Avatar for Ezzaral
0
487

The End.