15,688 Topics

Member Avatar for
Member Avatar for AmieCutie

I've been working on a CMS built using AJAX and PHP. Pretty much it saves everything to XML files. Everything is working perfectly except getting the root node's attributes to save. These are never brought in to edit, I don't want these visible in the CMS. So what happens when …

Member Avatar for AmieCutie
0
149
Member Avatar for mbhanley

Hi all I am stuck trying to figure out the best way to get data as at the moment I have tried a few different ways to achieve this with no luck. What I am trying to do is update a block of php code that is in my sidebar …

Member Avatar for mbhanley
0
2K
Member Avatar for Eggstraordinary

I can't seems to open/run my jquery file for 3 days now and keeps me wondering what sort of my problem is. Just last week i can hover, slidetoggle, and other effects with the page i created. I presumed i'm correct with the code that i had: <script type="text/javascript" src="jquery/jquery.js"></script> …

Member Avatar for <M/>
0
138
Member Avatar for efth

I'm quite new to Javascript but thought that I should challenge myself to use it to solve an old problem of mine. I'm trying to set the height of a div to the same as the width of it. Example: The width is set to 50% and the screen is …

Member Avatar for JorgeM
0
277
Member Avatar for programmer12

Problem: Ajax Return false is not returning false, the codes values are being put witin the address bar, and the page is being refreshed. Question: Did I put the return false in the wrong area? How can I fix this problem? AJAX $(".status_reply").click(function() { var status_id = $("input[name=status_id]").val(); var user_id …

Member Avatar for programmer12
0
232
Member Avatar for Cappagh

<html> <head> <script> var count = 6; var time = setInterval(countdown, 1000); function countdown() { count = count - 1; var cx = document.getElementById("cdown"); if (count < 0) { count = 5 } cx.innerHTML = count; } </script> <body> <p id="cdown">5</p> </body> </html> This is a script for a count …

Member Avatar for JorgeM
0
195
Member Avatar for praveencrony
Member Avatar for ryantroop
0
186
Member Avatar for rotten69

hey guys, I don't seem to understand why this code is throwing a type error at me. It is saying the variable is undefined. The error I'm getting is this **TypeError: datasplits is undefined datasplit2s = datasplits.split(":");** var urlphp = 'ajaxgamesperday.php?&start_date=' + startDate + '&end_date=' + endDate; $.ajax({ url: urlphp, …

Member Avatar for rotten69
0
170
Member Avatar for StephenopolousINC

Hello, I am trying to call an audio file using the onload event. I am able to do it using the media player plugin but I need to be able to call it without the use of a plugin and have play directly in the browser. I think the <audio> …

Member Avatar for StephenopolousINC
0
331
Member Avatar for bmaglar3

*i Have written 2 php codes and one js thata are shown above. The first code selects the categories of the table and by selecting the category i want to let me select one of the product for example of the selected category. The result of these codes is by …

Member Avatar for ryantroop
0
128
Member Avatar for Dave-B

I have to live with a javascript gizmo on my pages. I've edited it's background color to better suit my html / css, but I'd really like to make the background transparent. I'm revising my html to use far fewer images, and more css, so I have to update the …

Member Avatar for ryantroop
0
157
Member Avatar for ganges

hi, how to include a java script file or how to create a java script file in eclipse thanks for your time

Member Avatar for ryantroop
0
108
Member Avatar for keven.pirritano

I'm creating a web page that will have software information on: basic description, operating system, free/commercial, etc. All the content will be placed (or generated) on one page. Dropdown filters at the top of the content will allow someone to select a "filter" (i.e. Windows) and it will auto remove …

Member Avatar for keven.pirritano
0
398
Member Avatar for navi17

Hello friends, I have a background image in body. What i want to achive is that 1)- calculate the visitor screen resolution. 2)- based on that resolution i want to resize my background image. Can anyone help? Looking for quick response. Thanks and regards navi

Member Avatar for vasile.manda
0
2K
Member Avatar for esparkinfo

Hello, i have problem with an alert event to show the current link id. but that is not working... click the generated links... function addLinks () { for (var i=0, link; i<5; i++) { link = document.createElement("a"); link.innerHTML = "Link " + i; link.onclick = function () { alert(i); }; …

Member Avatar for Taywin
0
225
Member Avatar for hiyatran

I would like to put all my coordinates into an array and have a loop display each one but with a Google function. Here's the code, which draws the points on google map: var flightPlanCoordinates = [ new google.maps.LatLng(37.772323, -122.214897), new google.maps.LatLng(21.291982, -157.821856), new google.maps.LatLng(-18.142599, 178.431), new google.maps.LatLng(-27.46758, 153.027892) ]; …

Member Avatar for Taywin
0
105
Member Avatar for goldentuna

Forum Member - UzuNarU posted this ajax solution to pull content from an outside page and placing it in a <div> tag in this forum [(His code post)](http://goo.gl/PP4ma)... and it's working great for us... with one big exception... We sometimes have javascript code coming back using this ajax process - …

Member Avatar for Taywin
0
395
Member Avatar for bappi1987

I have three combo boxes in my program... look like this --> box1 number letter box2 1 - 2 - 3 - 4 - 5 - box3 1 - 2 - 3 - 4 - 5 - How can i do it work in this solution ? such as... in …

Member Avatar for Bachu
0
196
Member Avatar for persianprez

So I have a text file with sets of 4 items I want to go in different arrays. I've tried the following but without success. <?php $urls="list.txt"; $page = join("",file("$urls")); $kw = explode("|", $page); $count = 0; $links = array(); $images = array(); $widths = array(); $heights = array(); for($i=0;$i<count($kw);$i++){ …

Member Avatar for Bachu
0
182
Member Avatar for maurices5000

Suppose I have a multiLine textbox such as this one. I type SELECT [tablename] dot....(for example: tblEmployee.FirstName) Do you think it is possible to get a list that will show a list of possible attributes for the table? All the intellisense textboxes I've seen are single line. I would like …

Member Avatar for maurices5000
0
149
Member Avatar for Diogo Martinho

Hello, i'm currently struggling to solve a very annoying issue that appeared when I was programming my HTML page I'm getting an error in this function function Tags() { if ( xmlHttpObj.readyState == 4 && xmlHttpObj.status == 200) { var docXML = xmlHttpObj.responseXML; var tagsElem= docXML.getElementsByTagName("name"); alert("check"); var tags = …

Member Avatar for adam.adamski.96155
0
204
Member Avatar for arcticM

I have a form with 1 textfield, on pressing tab the value in input is saved and the form refreshes. the first time I open the form there's a focus on the input text (I have this jQuery('#input_x').focus(); when creating the form code) but when the form refreshes the focus …

Member Avatar for arcticM
0
118
Member Avatar for PhilEaton

Sorry, I am very new to AJAX, and I while there are tons of examples out there, it is hard for me to understand. If you could please help me out with my specific example I'd much appreciate it. The AJAX syntax is just very strange to me. Anyway, I …

Member Avatar for goldentuna
0
343
Member Avatar for fred999

Hi all, how would you adjust the height of an iframe based on its src content? I want to integrate a forum (phpbb) inside my custom made website. The problem is that there is no way to dynamically adjust the iframe height... im pulling out my hair here... I thought …

Member Avatar for goldentuna
0
2K
Member Avatar for DavidB

Hi, folks. I have written some pretty complicated programs in Javascript (in terms of the code itself), but I haven’t experimented much with the nuts-and-bolts of Javascript. In particular, I have written all my programs as single blocks of code. For example, I have written several programs to solve for …

Member Avatar for goldentuna
0
280
Member Avatar for Alexandro

I know that I can import an css file in other css file with @import Ex: @import "style.css"; and i use this in allcss.css Can I do something like this in javascript, import a javascript in other javascript ;

Member Avatar for goldentuna
0
691
Member Avatar for semere mehari
Member Avatar for rotten69
0
71
Member Avatar for ratanji

i'm creating some forums type task so i want to display the notifications botom of the page for few seconds like facebook notifications which is posted by the students so how can i can anyone help me :) :)

Member Avatar for adam.adamski.96155
0
130
Member Avatar for greenbluekidz

I have been asked to create a webform for my company to replace an excel document we use. Basically it is an interval report that gets filled out and emailed to all upper management. The webform layout is the same as what we would have used in Excel. The whole …

Member Avatar for greenbluekidz
1
1K
Member Avatar for programmer12

I have a question about the AJAX Get Function: How do we use the AJAX get function to call a php script every ten seconds and place the information on the website and it can still be copied and paste without refreshing. I created a script that calls the php …

Member Avatar for programmer12
0
105

The End.