20,316 Topics
hello all i am new to asp and javascript i am creating a page in which user enters the id,name,address and he enters his family detail's below selecting relation and name of person if he wants to add more personal details he can click on add more buttton will give …
Hi everybody, I am facing problem in javascript. I got javascript code for desiging a input form. That code is saved as test.html file. My Doubt is: 1) How do i use in my mainpage.aspx? PLz its very urgent. Thank you all
I have to make an ActiveX control so tht I can use it in other applications.I referred following link [URL]http://www.c-sharpcorner.com/UploadFile/dsandor/ActiveXInNet11102005040748AM/ActiveXInNet.aspx[/URL] Followed exactly same steps. i made a class library and referenced its dll in another webform where i m using the members of the class library through Javascript.but the members …
Here's how I call this code ... it's my wrapper for Ajax: [code] var ajax = new XMLHttp(); ajax.get('myscript.php?variable=value'); [/code] When I run that, I get the error in Firefox's Error Console that ajax.get is not a function. So I've checked this code ten times and I see nothing wrong. …
Can you please advise me why the following Javascript function works in Firefox,Opera and Netscape but I get `"Error:The marshaled interface data packet(OBJREF) has an invalid or unknown format."` It seems very basic! What am I missing? function OpenSite() {var newwindow; newwindow=window.open(SiteN,'name'); if (window.focus) {newwindow.focus()} } SiteN is a global …
hello, I have a table with 10 rows and 6 columns in each row all with text fields . i have named the text fields from text1 to text60.Actually i need to find the total price of every item in each row,by multiplying the quantity and the unit price for …
Hi everybody, I am facing problem in javascript. I got javascript code for desiging a input form. That code is saved as test.html file. My Doubt is: 1) How do i use in my mainpage.aspx? PLz its very urgent. Thank you all
How to create a favlet to allow my members to use this code offsite? favlet should have a link they can drag to their toolbar links. [code]<form><input type="button" onClick="fullwin('http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=7101')" value="Screensaver"></a></form>[/code] or if i make ita regular href link can they drag that to their toolbar links? <a href="http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=7101" target="_blank">screensaver</a> how …
Hi all, I need to create extra rows for already existed table in javascript.I added code as shown below.It works well for mozilla but for ie extra rows are not adding .i didnt find where the problem was.Apart from that i had another problem with checkbox created below.it always returns …
HI.... We are using FCKEditor but it is not gettin loaded in Firefox.\ Can any help me in getting this issue solved please..... Thanks, Saravanan
tried this with css in actuall stylesheet aswell, but i wont work. what have have I done wrong please? [code]<style>pullquote {width: 145px; background:gold; color:black; float: right; border:1px solid maroon; font-weight:bold; line-height:140%; padding:5px; margin-top:10px; margin-left:10px; } </style> <script type="text/javascript"> function addPullquote(){ var myTextArea = document.getElementById("commentBox"); myTextArea.value = myTextArea.value + '[dohtml]<p class='pullquote'> …
Hi, Im using Radio Buttons. What I want to do is once a radio button is selected. I want to Redirect/Open another Page. Cant seem to get it to work. This is my line of thought can some one point me in the correct direction? [CODE][COLOR=#0000ff] [/COLOR] void[COLOR=#000000] Page_Load()[/COLOR] { …
I will be using this one. I want to add sub items to each category(button) how do I do it but maintain the style? [code]<style> #message div.menuBar2, #message div.menuBar2 a.menuButton { font-family: Verdana, Arial, sans-serif; font-size: 8pt; color: #000000; } #message div.menuBar2 { background-image: url(http://i14.photobucket.com/albums/a345/Instar/escher_background.gif); padding: 6px 2px 6px 2px; …
Hi all, Instead of writing javascript functions on the html page it self, we could write those in separate “.js” file and import it as follow. <script src="fileName.js" ></script> But when we do this and check the web page source on the browser, there is no any JavaScript function there.. …
Hi! Are you javascript developer and looking for some tool like Photoshop rectangular marquee tool on javascript? Or may be you are just interested in Internet novelties? Any way welcome on board to [URL]http://marqueetool.net[/URL]! Marquee tool allows you to select rectangular areas on <DIV> or <IMG> elements for some your …
I have a page in which I successfully pass code from a list form to another page via a query string. I now wish to add an additional form that uses radio buttons, and passes that value in the query string, as well. The problem I have is capturing the …
I'm looking for sample code (AJAX, ASP, JAVA) that allows web users to input questions from a form and when submitted it calls a document (Word, PDF, HTML) and inputs the users answers in the appropriate location of the document and allows them to print the document. Is this possible …
I've found a script that does almost exactly what I need but it uses PHP - I know nothing about PHP. Anyone here want to help me convert the PHP to Coldfusion? It's not a whole lot of code. Here's a demo and the source code is below the demo: …
Hello all, I'd like to embed a javascript code into this part of the php/html [code]?> <a href="<?=$images[$k][0]?>" target="blank"> <img src="<?=$thumbdir."/".$images[$k][0]?>" border="0"><br /> <?=$images[$k][0]?> </a><br /> <?=round($images[$k][2]/1024)?>Kb, <?=date("d-m-y",$images[$k][1])?> <?[/code] I'd like to add this javascript to it: [code] <script language=JavaScript> <!-- //Disable right mouse click Script //By Maximus ([EMAIL="maximus@nsimail.com"]maximus@nsimail.com[/EMAIL]) w/ …
I'm a rank beginner with Javascript. The offending page is at [url]http://www.longerstrongerliving.com/stresscalc.htm[/url]. On loading the page, there is an "Expected J" at line 13, character 25. After putting a numeric value in each of the text boxes for the 17 questions, there is an "Object Expected" error, line 148, character …
What do you guys use and why? I've always used Dreamweaver and Firefox to write/debug. Any other suggestions?
Hi - I'm the new kid on the block. glad to meet you all. I'll start with a problem. Can anyone please help me? I'm looking for a free script to hide ALL media players when an end user activates a hyperlink to play short pieces of music on my …
I have a probelm regarding printing a jsp page. When i print my page from browser, which comes in poppup window. then right sideof page is cutoff. that page contain main table tag which defines the complete layout.all data are td tag. I tried to change width and also margins …
Hello all, I am new to javascript and cross-browsing. I have a XSLT generated HTML document which works fine ini IE and opera but have problems with firefox. I tried to debug with firebug but i have no idea what should i do next to fix the problem. I would …
can anyone pls help me why FIREFOX displays 'reference to undefined property' message for this html page? It works fine in IE. <html> <head> <title>Expandible row test in firefox</title> <STYLE type="text/css"> .collapsed { DISPLAY: none; } </STYLE> <script language="javascript" type="text/javascript"> //***collapsible rows function outliner(evt) { evt = (evt) ? evt …
I want random links in this code to open in a new window. how to please ? [code]<script language="JavaScript"> <!-- // Create arrays to contain all the values // for links and image locations link = new Array image = new Array link[1]="http://www.wildexpo.com.au/Aust%20Rep%20Show/" image[1]="http://www.reptilesaustralia.com.au/forums/Ads/wildexpo.gif" link[2]="http://www.excite.com" image[2]="http://www.excite.com/mesp/images/excite/new_logo-180.gif" link[3]="http://www.lycos.com" image[3]="http://a284.g.akamai.net/7/284/987/000/lygo.com/ly/i/lyguide.gif" link[4]="http://www.cnet.com" image[4]="http://cnet.com/Images/Headers/cnet-1-title.gif" …
When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) …
i want to send a text to an html form that contains java scripts. this form is displayed on a browser,but does not have a URL. it only has a title on its title bar.for example "flexcube - Internet Retail Banking".and i think i will reference the page with the …
A requirement for the project I am currently working on is that when various links on a page are clicked that the appropriate "layer" (i.e. div) will be displayed centered in the browser. I have tried using various javascript solutions and they center some div's and not others. Does anyone …
***UPDATE Solved*** Needed to change to this <script runat="server"> protected void Page_Load(object sender, EventArgs e) { Page.DataBind(); } </script> and this [code]<script type="text/javascript" src='<%#"http://www.somesite.com/cool.asp?nick=" + Request.QueryString["Nname"]%>'></script>[/code] With the variable Nname from my database via a DeatailsView control. I am really new to asp.net and I feel that I am just …
Discovered my credits code wont display in f***erFox mozilla. how can I can make it cross browser? [code]<script> /* Credits screen script */ function opencredit(){ //set this to the file of the credit var creditfile="http://herproom.5.forumer.com/index.php?act=Attach&type=post&id=7261" if (document.all) creditwindow=window.open(creditfile,"","width=445,height=250") else creditwindow=window.open(creditfile,"","width=445,height=250,scrollbars") } </script> <center><b><a href="javascript:opencredit()">See credits for Reptile Planet!</a></b></center> [/code] the …
hi, Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1? Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes. …
I want to detect a users browser type IE, Mozilla firefox, or Opera and display the correct icon next to the user name. If its not one of the three above, Display another icon. I have this so far document writing the name of the browser, but I want the …
Here's one problem to sort html table. The rows have their collapsible child rows. I want them to be in order after sorting the rows. Help appreciated. [code] [COLOR=#0000ff]<[/COLOR][COLOR=#800000]html[/COLOR][COLOR=#0000ff]> [/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]head[/COLOR][COLOR=#0000ff]> [/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]>[/COLOR]Expandible row test in firefox[COLOR=#0000ff]</[/COLOR][COLOR=#800000]title[/COLOR][COLOR=#0000ff]> <[/COLOR][COLOR=#800000]STYLE[/COLOR][COLOR=#ff0000] type[/COLOR][COLOR=#0000ff]="[/COLOR][COLOR=#000000]text/css[/COLOR][COLOR=#0000ff]"> [/COLOR].collapsed { DISPLAY: none; } [COLOR=#0000ff]</[/COLOR][COLOR=#800000]STYLE[/COLOR][COLOR=#0000ff]> [/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#800000]script[/COLOR][COLOR=#ff0000] language[/COLOR][COLOR=#0000ff]="[/COLOR][COLOR=#000000]javascript[/COLOR][COLOR=#0000ff]"[/COLOR][COLOR=#ff0000] type[/COLOR][COLOR=#0000ff]="[/COLOR][COLOR=#000000]text/javascript[/COLOR][COLOR=#0000ff]">[/COLOR][COLOR=#000000] [/COLOR] //***collapsible rows function …
I want to create a code that will alow my forum members to input keywords to set an email alert. The user inputs keywords and submits their email address. The code searches titles of threads for a match for those keywords, (posted after submit) if a match is found the …
[IMG]http://www.contentmart.com/ContentMart/Create/images/dom.gif[/IMG] I want to ask if there is a way to access an obcect which is not in a form field. My textbook doesn't cover that topic. All the sample code in it is done with the form fields. The picture above illustrates the DOM object model that is used …
This might be a big ask? can the code simply be improved in any way, sometimes it seems not to work? can it be made cross browser compat? current code ( onsite screensaver) [code] <script language="JavaScript"> <!-- Timeout=30000 // set delay time for effect Timer="" function oStatic() { clearTimeout(Timer) if(timerRunning …
I want to 'get' the last message posted from my remote hosted shoutbox (below) and display at the top of my board as a 'last shout' ticker. Im not sure if its possible? seen it done with mk portal but I know nothing about it. hopwefully it could be done …
Hello all, I know this has already been talked about on this forum, so dont get angry! I cant seem to get my webpage to print off correctly. Basically i have a main page with an iframe within it. within said iframe there is a few tables and some graphics …
Hey all, I need with my iframes that I put on my webpage. As you can see by the image here, they are not centered properly: [URL="http://img296.imageshack.us/my.php?image=iframehelpsn0.jpg"][IMG]http://img296.imageshack.us/img296/4219/iframehelpsn0.th.jpg[/IMG][/URL] Using the center alignment just doesn't move it enough to the spot I want it. I was wondering if maybe there were some …
Hi, I'm working on an AppleScript that, among other things, needs to delete page items from the pasteboard (outside the main Page area). I can go about this one of two ways: 1) call an existing javascript already in the the Scripts palette. 2) rewrite the logic in AppleScript for …
Hi This is a piece of code in javascript, embedded in html, for the order page on an ecommerce site that i have made. I have this particular script nested inside a <form> tag and have set the action to a php file, but the tricky part is to extract …
hi, how do we select multiple checkboxes in datagrid using a checkbox in the header of that datagrid. I went successful in adding each check boxes to each row. Now insted of selecting each checkbox individually i used a checkbox in the header of that datagrid. So when i check …
Is it possible to merge together python and javascript.. I am looking forward to fetching the contents of a webpage, parse them and use them in a webpage from javascript. I am a beginner in javascript and i couldn't find any means to fetch the contents(The webpage's entire source code) …
I'm searching for a guestbook where the your post is published "directly" after you've posted it. What I mean is a guestbook where there is no "thank you for posting"-page, or re-loading.. (DHTML?) Thank you. [IMG]http://www.programmingtalk.com/pt_images/images/smilies/smile.gif[/IMG]
How to set this up? source [url]http://www.tutorialized.com/tutorial/Resizing-An-Image-Using-PHP/16806[/url] Unload Javascript Files [quote]I found this to be a neat little trick for hiding(somewhat) source javacscript code from peering eyes... This function will unload all linked javascript files so that when you view source - you see no javascript files! (Especially helpful when …
Hi All, I want to set two textboxes, where I want to set the first day of current month in one textbox, and todays date in the second text box. How can I get the first day of the current month? Thanks In advance
is it possible to create a tag (javascript) that will output this... [code][dohtml]<span class="sidenote" title="Text"></span>[/dohtml][/code] it should work like this one.... [code]<input type='button' accesskey='p' value=' CODE ' onclick='simpletag("CODE")' class='codebuttons' name='CODE' onmouseover="hstat('code')" /> [/code] can that be done with javascript?
I have a site that I am working on for a friend. The test site is located at: http://linux1.jbknowledge.com/AJW/AJW%20Photo/ In the image galleries when you click on the large image it greys out the background but it does not fill the screen. I know it is probably just something simple …
Hi, Just wanted to if anybody here knows that how to handle the datatables which is returned from the server to by Ajax method , to be used by Javaascript. Searched though the interest, nothing help me. How do i manipulate data table in Java script. The return data table …
The End.