15,120 Topics

Member Avatar for
Member Avatar for kiran@kumar

hi friends iam kiran i have a doubt in javascript. In asp.net we have a flushing concept.it works fine. But i want that same flushing concept in javascript. Exact Requirement: From my database i got 1000 records to javascript function. then here i am open one js window and iam …

Member Avatar for kvprajapati
0
65
Member Avatar for persianprez

I'm sure this is simple but here is what I need to do: I want to change a variable within the source url. Heres an example of what I'm trying to say: [CODE]<script type="text/javascript" src="url.com?lang=en&X=word1&;"></script>[/CODE] This works fine, but I want the variable X to be elsewhere, like this: [CODE]<script …

Member Avatar for persianprez
0
319
Member Avatar for yopirates

hey guys! onload function is working in window.open! but it is not working in .showmodaldialog [CODE]newwindow2=window.open('app.html','app','Width:700;Height:350; modal:true;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Green"]This works [/COLOR] newwindow2=window.showModalDialog('app.html','app','dialogWidth:700px;dialogHeight:350px;dialogTop:200px; dialogLeft:200px;resizable=no;'); newwindow2.onload=function() { alert("hello"); } [COLOR="Red"]Not working [/COLOR] [/CODE]

Member Avatar for yopirates
0
948
Member Avatar for shadiadiph

is there any easy way to set a cursor to a div so that you can type in a div onclick?

Member Avatar for lambing
0
642
Member Avatar for andrewliu

Hello, I have a button that counts the number of clicks. when it is clicked, number goes up, and the image disappears. but I want it to show the image again when it is clicked, but can't be clicked after the first time is clicked. I already have this script …

Member Avatar for andrewliu
0
124
Member Avatar for dennishall

Hi: I embedded my Zen Cart store into my website. I have managed to get it working in IE by using the <OBJECT> tag. Why should I do this you ask? My website uses AJAX to load the pages into a div AND my storefront is not in the same …

Member Avatar for dennishall
0
110
Member Avatar for basilix

Hi... I'm new here! does someone know how can i get a javascript variable from jsp? I've tried some ways but no one works! :icon_sad: please help!

Member Avatar for basilix
0
239
Member Avatar for djcrab

I'm in need of some more help for something quite simple. All I'm trying to get to work is the (onmouseover) portion of the below. I'm sure there is a typo somewhere that I'm not seeing. I've got to quit doing homework when I'm exhausted. Just a little hard after …

Member Avatar for Troy III
0
114
Member Avatar for something78

Hi, I am working on a robot project, that is required to create a website to control the robot via serial port.. The website is plainly html, no linking to database is needed... I have no idea how and what language to use and can JavaScript communicate with serial port? …

Member Avatar for Taywin
0
124
Member Avatar for filch

I am still learning jquery but I am wondering why this code does not work. I have a select field called item_name and a hidden field called amount. Based on the selection in item_name, I want to set the value of the hidden field (amount) to a set value. For …

Member Avatar for hielo
0
112
Member Avatar for MartinRinehart

There is Firebug for Firefox and some very interesting developers toolsets, such as Dragonfly for Opera and Google's Developer Tools. Even MSIE's Developer Tools look like they have some possibilities. But is any of this documented, anywhere? All these seem less straight forward than debuggers I've used in the past.

Member Avatar for Taywin
0
90
Member Avatar for george61

I need javascript to trigger the combination of ctrl + minus. Is it possible. I need this because the design of the webpage I'm working on is looking much better at 83 % zoom which couldn't be achieved by CSS zoom property in mozzila firefox.

Member Avatar for Taywin
0
220
Member Avatar for herosuke

hi I need help regarding my issue on my site [url]http://citiguide.ph/home/[/url] try to click on the bullet of • Accommodations (1) in the categories it will show the sub categories the problem is when you click the main link it doesn't work it should go directly on the particular url. …

Member Avatar for Taywin
0
52
Member Avatar for hunter8

Keep getting following page error on my laptop but not on my desktop can anyone help . unable to get complete web page Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6.5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR …

Member Avatar for Taywin
0
87
Member Avatar for DrViolet

I have an ajax paginate part in my php file. I don't need to have every page remembered by the back button, but at least the last visited. In Firefox this works great. For example, I go to page 5, ajax changes the content and page number 5 is highlighted. …

Member Avatar for Airshow
0
99
Member Avatar for thejoej

I use a search engine on my web site [url]www.barmirrors.com[/url] I got it from Search Site Pro. It opens the search results in the same window thus making it hard to get back to where you came from. I would like the search results to be dispalyed in a new …

Member Avatar for thejoej
0
204
Member Avatar for tldorr

I have built what I think is a nice contact form. I want to add a cookie to this form so that if a visitor has already completed this form, the browesr recognizes the user and sends them to a page that states they have already filled out this form. …

Member Avatar for tldorr
0
98
Member Avatar for stevemail

Hi, I would an script to give a free PDF as a gift: 1. get an email on a box on my website (like the newsletter subscriptions) 2. send an email to subscriber, with a confirmation url 3. after confirmation, the user will receive a new email, getting a PDF …

Member Avatar for Taywin
0
54
Member Avatar for ptemedia

Hi. I am making an asp website to sell items. On the details for individual products page I have an image and 3 smaller ones beneath. Clicking on one of them will bring up a larger image on the screen. However, at the moment, I have to have 4 images …

Member Avatar for Airshow
0
210
Member Avatar for vimax

Hey. I am new to webprogramming..so sorry if this question sounds stupid. I use the function setTimeout() and document.all[id].style...etc to take the value I need error: Matched Pattern: "/\bsetTimeout\s*\(/" else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;} my code is: function customizeWebRank(){var parent_window=null;if(opener&&opener.location.href.indexOf("extensions.xul")!=-1){if(opener.opener&&(opener.opener.location.href.indexOf("browser.xul")!=-1)){parent_window=opener.opener;} else{var window_service=Components.classes["@mozilla.org/appshell/window-mediator;1"].getService(Components.interfaces.nsIWindowMediator);parent_window=window_service.getMostRecentWindow("navigator:browser");}} else{parent_window=opener;} parent_window.setTimeout(function(parent){parent.WebRankV2.customize(1);},100,parent_window);return true;}

Member Avatar for Taywin
0
229
Member Avatar for djcrab

Here is what I've wrote for an assignment..I would simply like to add a space between the song name and year and enclose the year in parentheses. Thanks yet again. Jake [CODE]<script type="text/javascript"> <!-- HIDE FROM INCOMPATIBLE BROWSERS var favSongs = new Array(19); favSongs[0] = "Falls Apart"; favSongs[1] = "Monster"; …

Member Avatar for Taywin
0
153
Member Avatar for gchurch

hey all i need to check to see if my check box is checked, here is my code... [CODE]echo "<form id='form1' name='form1' method='post' action='".$href."' onsubmit='[COLOR="Red"]return checked_room()[/COLOR]'>"; while($row = mysql_fetch_assoc($res)) { $roomName = $row['RoomName']; if(!in_array($roomName,$taken_array)){ echo "<div id='RoomBorder'>"; echo "<table width='100%'><tr><th colspan='2'>". $row['RoomName'] ."</th></tr>"; echo "<tr><td colspan='2' align='left'>".$row['RoomDescription']."</td></tr>"; echo "<tr><td><b>Max Guests …

Member Avatar for fornandakishore
0
291
Member Avatar for mushget

i want to create a form containing : 1. drop down list of countries (that i managed to create) 2. action on selection (redirect to a link on country selection) 3. post the selected option into a text box below and remeber (if possible) The remeber part is optional . …

Member Avatar for Taywin
0
87
Member Avatar for gidireich

Many times I encounter a site, and would like to know - how did they do this? Moreover, I'm looking at a the work of someone else in my project, and want to understand what exactly did he do? What are the parts of the page? Which scripting manipulations are …

Member Avatar for pritaeas
0
57
Member Avatar for MartinRinehart

I'm losing the content of a textarea in MSIE. (No problem in the other browsers.) Running short of ideas. I load .js files in this order: main, build, run. "main" does some bookkeeping. "build" creates the UI. "run" contains all the event handlers. At the last line of "run" it …

Member Avatar for Taywin
0
267
Member Avatar for blanco_curious

How can i create a slideshow like the below. [url]http://s2sphotography.com/[/url]

Member Avatar for Luckychap
0
42
Member Avatar for gtr1971

Hello all! I'm a newbie to Javascript and I have what seems to be a simple task that has stumped me. I have a parent/child scenario where the child is a pop-up "control panel" with hyperlinks that control the parent page. The idea is to click a link and it …

Member Avatar for gtr1971
0
12K
Member Avatar for eswar.aspire

hello, Any guide or suggestion to my problem.Thanks in advance.. I have an Iframe which load the flash Mp3player by mean of JavaScript using Swfobject. 1)But Its not loading properly by loading the XML to play the songs. 2)Also I have to send the Variable to flash to load the …

0
73
Member Avatar for daneuchar

i want to use two different css for firefox and chrome but unable to do it.. :( please help !! the code i tried is given below !! [CODE] <script> function css_append(file){ var css = document.createElement('link') css.setAttribute("rel", "stylesheet"); css.setAttribute("type", "text/css"); css.setAttribute("href", file); document.getElementByTagName("head")[0].appendChild(css) } if(navigator.userAgent.indexOf("Firefox") > -1){ alert("Firefox"); css_append('css/default_ff.css'); } …

0
85
Member Avatar for phughesphoto

Hi there - newbie so if this has been answered elsewhere, pardon my new thread but I'm tired! :) Anyone who can tell me what is wrong with my code which is working fine in IE 8; here is the page link: [url]http://phughesphotography.com/chapman.htm[/url] Help is greatly appreciated! I'll check back …

Member Avatar for Graphix
0
117

The End.