15,698 Topics

Member Avatar for
Member Avatar for hknight

I want to place all opening tags in an array. In the example below, the following array should be created: [code] var tagsOpen=new Array(); tagsOpen[]='<h1 class="h">'; tagsOpen[]='<p>'; tagsOpen[]='<strong class="w">'; tagsOpen[]='<p>'; tagsOpen[]='<span style="color: red">'; tagsOpen[]='<span style="color: blue">'; tagsOpen[]='<span style="color: green">'; [/code] That array should be dynamically created from this: [code] <!DOCTYPE …

Member Avatar for hknight
0
329
Member Avatar for Kayoss

Hello all! I have a javascript running on my site at [url]http://www.kayoss.net[/url] that disables right clicking (viewing source, saving pictures, etc.) that works beautifully in IE...but not in Firefox. Does anyone know of a solution?

Member Avatar for fxm
0
422
Member Avatar for lifeworks

Hi Been trying to use the json_parse function from the json.org website - looking for a link to a tutorial (or a short example) to show how i would use it to cycle through a list of responses - in this case im returning a JSON object with an id …

0
86
Member Avatar for RisTar

Hi everyone, Im having some issues with a website that im working on. The website have mysql database and all of the server side code is done in php, therefor all of the files are named with a .php extension, I know it shouldn't make any different but for some …

Member Avatar for almostbob
0
170
Member Avatar for Acute

Hi, Do you know a good, free to download book about AJAX (pdf, djvu, chtm?, any)?? Plz, give a link!!! THNX!!!

Member Avatar for Acute
0
112
Member Avatar for jtkiv

I've got a table in an html document im writing, and i have two separate cells which need to pull parallel information. For example, a book title and a summary. The book title and book summary need to be from the same book... Ok, so i have one array with …

Member Avatar for jtkiv
0
117
Member Avatar for vinamar82

Hi, I'm trying to use javascript regexp to find the following. var url = "http://cgi.ebay.com/BRAND-NEW-UNLOCKED-32-GB-Apple-iPhone-3GS-3G-S-Any-Sim-/320459852842?cmd=ViewItem&pt=Cell_Phones&hash=item4a9ce54c2a"; I need to get 320459852842 from the above url. This is the regexp i'm using which doesnot get me the result. var matched = url.match('^http:\/\/.*(?=\/)?([\d]+)*(?=\?|cmd)*/'); Pls Help.

Member Avatar for fxm
0
56
Member Avatar for pwhitrow

Hi fellow devs, not sure if this is the right place to post but I wanted to share my application with you, in the hope that it may be useful to someone if you are developing a website and need an off the shelf gallery... xFlow! ([url]http://xflow.pwhitrow.com[/url]) is a gallery …

Member Avatar for diafol
-3
229
Member Avatar for MDanz

i have a website [url]http://www.stackway.com[/url] search "basketball" for an example with results i'm trying to add a quick-add feature, which will be a firefox add-on so i can build the database quicker. is there a tutorial? i want to capture the current page in the browser and then input into …

0
57
Member Avatar for rori

Hi, I have a page on my website where I put an iframe and display inside it another website, something like this: [CODE] <iframe frameborder="0" height="100%" scrolling="yes" src="http://www.another-website.com/" style="overflow: scroll; min-height: 600px;" width="100%"></iframe> [/CODE] My problem is that my page have a fixed width of for example 800px which the …

Member Avatar for fxm
0
813
Member Avatar for 111ron222

Hello, I have a lightbox (jQuery) in my website and I'm looking for a way that I will be able to connect people from link direct to the open window using the lightbox mechanism. Is that possible to that using a link the lightbox windows will open in over the …

0
52
Member Avatar for ctrenks

I am building a custom content management system and I am not seeing how i can add elements above and below. I have elemnts (text area, header span, data display code) in a database and want to add them to a page, i can do 1 into a marked div …

0
51
Member Avatar for Mestika

Hi, I want to create some kind of AJAX script or call that continuously will check a MySQL database if any new messages has arrived. When there is a new message in the database, the AJAX script should invoke a kind of alert box or message box. I’m not quite …

Member Avatar for ShawnCplus
0
85
Member Avatar for rukshilag

working on a form to update particular user details if required. as you can see there is also a print button. i want to know how i can print out the div=formData if print button is clicked. according to my current code when print is pressed the whole form itself …

Member Avatar for vitana
0
158
Member Avatar for tsachin1

Hi all, I need to know this one. I have web application and i need functionality like client have certain pdf file on his/her local system. I want to use html/javascrpit to print these pdf files without opening. Thanks in advance.

Member Avatar for vitana
0
167
Member Avatar for Blacklister

hey, I need a 24 hr i.e 00:00 to 23:59 timepicker in javascript. Precisely, the requirement is such that the database format are 24 hr timestamps. Hence I cant use am or pm time pickers.. Plz help guyzz..

Member Avatar for Airshow
0
177
Member Avatar for sexyscott

Can you help me write a program that displays and 8 by 8 grid of panels, all of which are initially colored white, but when the user presses the mouse within a panel, this color changes to a random color?

Member Avatar for Airshow
0
44
Member Avatar for TheVendor

Hello, I have a spry accordion that I have inserted in Dreamweaver with 5 tabs for Monday-Friday. How could I make the tab active depending on what day it is? i.e: So if its Tuesday the Tuesday tab will be active. [CODE]<div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <li class="TabbedPanelsTab" tabindex="0">Monday</li> <li …

Member Avatar for fxm
0
206
Member Avatar for pwindsor

Hi Having a problem with iframe resizing when the iframe body is a jsp file which contains a dynmically built ajax table. Users select different options from a drop down. All but 1 is a standard static jsp file. The other is a jsp file with a dynamic ajax table …

Member Avatar for Airshow
0
292
Member Avatar for THEMARKER

hello there, I 'm new to this, but I'll appreciate it if someone could help me with my script I'm writing a javascript that add's site to favortites. It works fine in IE but not in anything else. This is for a clients site who uses Mac and linux. I …

Member Avatar for irammunir82
0
186
Member Avatar for TolucaDiablo

Hello everyone, I'm trying to combine 3 form input fields into 1 that is hidden (Date of Birth). The input fields are DOB-MM, DOB-DD, and DOB-YYYY and the hidden field is DOB which will store the Date of Birth in the following format 'YYYY-MM-DD'. Unfortunately I don't know javascript so …

Member Avatar for rajarajan2017
0
462
Member Avatar for benqus

Hello! =) Please help me with this! =) This is my last one to my diploma work! =) If the user enters a number in the textfield, than JS should set the selection in the textarea to that line. Empty lines are changed to " \n" coz I like for-in …

0
87
Member Avatar for the_mia_team

I Have this problem and honestly have no idea where or how to start this, can anyone give me an idea or help? [QUOTE]Write a JavaScript program to calculate the statistics of words in a web page. When running the program in a web page, the script should output all …

Member Avatar for fxm
0
132
Member Avatar for Atomika3000

I have a small javascript app that lets the user enter in a name and a mark, then store it in a cookie. This works fine. I need it to now take the numbers from the cookie and calculate the mean and standard deviation. Code is this [CODE] <html> <head> …

Member Avatar for fxm
0
83
Member Avatar for hmortensen

hi all, I'm new to PHP and Java script, but would like to get som experience with em'. Im trying to make a search for a dropdown list, but it doesnt work? It is based heavily on this code [url]http://www.rgagnon.com/jsdetails/js-0089.html[/url] (wich works fine?) I have testet to see if the …

Member Avatar for hmortensen
0
138
Member Avatar for kau14

Plz Help Me In This Regard Am useing Ajax Control 1)ToolkitScriptManager1 2)AutoCompleteExtender i created web service as Follows Imports System.Web Imports System.Web.Services Imports System.Web.Services.Protocols Imports AjaxControlToolkit Imports System.Data.SqlClient <System.Web.Script.Services.ScriptService()> _ <WebService(Namespace:="http://tempuri.org/")> _ <WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _ <Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ Public Class AutoComplete Inherits System.Web.Services.WebService Private ReadOnly Property ConnectionString() As String Get Return "Server=.\SQLEXPRESS;Database=testproj;Trusted_Connection=True" …

0
99
Member Avatar for bazer

i cant seem to figure out how to get the computer to know even / odd numbers using it for a prime factors. not looking for someone to do it for me just need a nudge in the right direction create code that asks the user to supply an integer …

Member Avatar for bazer
0
75
Member Avatar for djMot

Hey everyone. :) I've been trying to find a goof file upload script for a while. No luck really. I operate an internet radio station, and frequently artists want to send me music for airplay consideration. I've been struggling along giving them FTP login information and letting them send files …

Member Avatar for mudge.steve
0
99
Member Avatar for felizardo

Hello there, I'm loading some part of the page by Ajax, and in this part i have a slide toggle using the scriptaculous.js library, which don't work when I'm using Ajax. Is this normal, because checking the page code, it seems unchanged by the Ajax script?

0
64
Member Avatar for sainiweb

Hi I have problem with span tag padding paroblem can I do fix it with css or javascript here is code which hard coded for left and right padding I have ad &nbsp; and <br /> I want programatic way to fix it with css or java script <!DOCTYPE html …

Member Avatar for fxm
0
258

The End.