15,127 Topics

Member Avatar for
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
55
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
227
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
55
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
811
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
50
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
49
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
83
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
156
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
165
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
42
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
205
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
290
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
185
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
461
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
86
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
130
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
82
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
135
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
97
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
74
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
97
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
62
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
256
Member Avatar for lithcause

i have a form that has ajax working corectly on a spry tab with 2 enteries... but i wan the 2nd spry to be a distinct as well as the first one ... the first spry tab has company name dropdown that is pulling the information of the company owner …

0
43
Member Avatar for Xufyan
Member Avatar for sainiweb

Hi I ahve this code which is working on Chrome, Firefox and Safari But Its not working on IE Can any one help me <html> <script type="text/javascript" language="javascript"> function set_padd(){ var tt = document.getElementById("span_padding").innerHTML; var txt = new Array(); txt = tt.split("<br>"); var atxt = ''; for(var i = 1; …

Member Avatar for sainiweb
0
227
Member Avatar for FINIF

I'm trying to replicate the function of the search on Yahoo Finance. [url]http://finance.yahoo.com[/url] The get quote search where you can start typing in the company name and it autocompletes it. I have it partially working at: [url]http://www.finif.com/teststream/search/[/url] Now I want to have it so once they click on the option …

0
51
Member Avatar for mohanrajit.88

Hi Guys, I'm in need of regular expression for validating the html tags that are closed properly, say for example <i>test content <b>see this </i> .. it should show an alert "tag is incorrect". Plz help me....Guys-:)-:) Thanks in advance

Member Avatar for fxm
0
265
Member Avatar for roryt

I need some help with what I think is probably javascript. I would the user of my website to click a link on a page and for some information to display on the page without a reload of the page. This is what I would like to happen in my …

Member Avatar for nan.gal31
0
158

The End.