jquery x 2,329

20,316 Topics

Member Avatar for
Member Avatar for OmniX

I was helping a fellow daniweb user with validation for restricting output to only numerics. Then another user said even it validates a user could copy and paste into the cell. Now that has been annoying me and I have been trying to figure out a way to prevent this. …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for rahimah

i have downloaded your coding few hours ago. but somehow i have some problem there which is the calender just won't come out. i had follwed the steps and put the coding at the right place but it wont come out. i need to put a calender in a system …

0
71
Member Avatar for bharathi_n_r

Hi all webbers, I have a problem of generating numbers automatically.... Actually i have a textbox and the textbox should autogenerate a number everytime the page loads or whenever the user clicks the next button after filling in the values..... Help me out dudes.......Sample code would help me a lot.....

Member Avatar for Jx_Man
0
367
Member Avatar for sqlchopper

Here is html <asp:datagrid id="mrpDataGrid" style="Z-INDEX: 289; LEFT: 576px; POSITION: absolute; TOP: 512px" runat="server" Width="160px" Height="90px" autogeneratecolumns="False"> <AlternatingItemStyle BackColor="LightGray"></AlternatingItemStyle> <Columns> <asp:BoundColumn DataField="SCHEDULE_DT" HeaderText="Scheduled Date" DataFormatString="{0:d}"></asp:BoundColumn> <asp:BoundColumn DataField="SCHEDULE_QTs" HeaderText="Summed Quantity"></asp:BoundColumn> </Columns> </asp:datagrid> I need to get values of both bound columns to use in calculations. TIA javascript newbie

Member Avatar for sqlchopper
0
414
Member Avatar for kbhatt_81

hi all, following code is working fine in mozila but not working in IE. Can anybody suggest compatible code for both the browsers. function UpdateSelect() { select_value = document.form1.selection_1.value; var id = 'hide_this_row'; var obj = ''; obj = document.getElementById(id); alert("object is 1"+obj); if( parseInt(select_value) < 1) { obj.style.display = …

Member Avatar for DangerDev
0
76
Member Avatar for tryphy

How to toggle between a Single window ..: Which is, In one page, I have the video and ppt in it.. If i wanna switch, the windows by a button. Eg: when u click a button, v must be able to see only the ppt and when you click a …

Member Avatar for tryphy
0
119
Member Avatar for Dennis_Phils

Hi everyone, I'm having problem with the sequence of execution for xml.onload. It works fine if your not passing parameters to onload event but my code needs to pass parameter to its function. I'm able to research ablut passing parameters for onload event. However my problem is it only executes …

Member Avatar for MidiMagic
0
90
Member Avatar for kenchiro

Please help me file name and folder name when upload by by browser Folder and file name it does not array .. A B C-Z or 1-9 ..please help me to fix this problem... Really thanks the cause is when i moved to new hosting it happen like this problem …

Member Avatar for Member #210412
0
146
Member Avatar for hooray

Hi guys, i am writing this piece of code, it is building some javascript. I have got it working exactly the way I would like, apart from in the while loop, I would like to reomve the comma on the last loop. This needs to be removed for the javascript …

Member Avatar for hooray
0
91
Member Avatar for Inny

supposing you had multiple scripts running, many remote hosted and you cant remember how many or which ones used a body onload tag. Could you use a wildcard to cover them? for example, is something like this possible? [code]<body onload="popWindow();somefunction();"*"(); "*"();">[/code] :?:

Member Avatar for sharonm
0
125
Member Avatar for ShawnCplus

I've come across a bit of a conundrum. Firefox handles DOM manipulation based on the standard which (would'a'thunk-it?) works. However, Internet Explorer does not. So here's the situation. I've got a select box and a remove button which, in Firefox, works as advertised, ie., removes the selected element from the …

Member Avatar for ShawnCplus
0
145
Member Avatar for Anniekin

hello. I have added a command "copy email address" to my IE context menu however I cannot get the script to work. Please help me.

Member Avatar for JonathanD
0
57
Member Avatar for Oxiegen

Hi, all! Here's another one that's starting to boggle my mind. I have a form that, with a button, adds a bunch of text-fields in a tablerow. For every press of the button another row is added. This works in both IE and FF. No probs. When pressing another button, …

Member Avatar for ~s.o.s~
0
4K
Member Avatar for armend90

I have an HTML file named index.html on one server, and another PHP file named ads.php on another server, and in PHP I have an $_GET['pub'] method set by the URL how can I get the value of $_GET['pub'] on the index.html which is located on another server? EXAMPLES : …

Member Avatar for pclfw
0
106
Member Avatar for Oxiegen

Hi. As suggested by ~s.o.s~ in another thread, I'm posting this question here in the high hopes that someone might be able to help me. I have a JSON string coming in from a javascript that I need to convert to a predefined class object. I'd even settle for a …

Member Avatar for Oxiegen
0
381
Member Avatar for raziane

hi odd problem with IE and Javascript? when I open my pages using ip (and not host name) thier javascript functions and events dont fire. can any one help?

Member Avatar for raziane
0
184
Member Avatar for kaushik259106

Am using the following code to remove a text box from my site. So when the user clicks on remove_btn.gif a text box row gets removed. [CODE]<html:image onclick="document.getElementById('wishlistForm').action='/wishlist/send.do?method=remove&removeIndex=${status.index}';" styleId="remove" src="${siteImages.imagePath}local/localbuttons/remove_btn.gif" border="0" altKey="btn.altTxt.remove" />[/CODE] Now i want to replace the remove_btn.gif with a normal hyperlink text something like this [URL="http://remove"]Remove[/URL]. So …

Member Avatar for ShawnCplus
0
85
Member Avatar for pnalinivenkat

I am using two textboxes and one checkbox to remmber my username in login page My requirement is for the first time if user logs in and he checks the check box when he login for next time based on his username the password should be filled i have written …

0
98
Member Avatar for kings

hi i have a form ...i want to validate the fields in such a way it does not accept if the user is trying to enter numeric instead of characters.......... [COLOR="Red"]eg[/COLOR] in a name field if the user is trying to enter number....the typed data should not come...it should act …

Member Avatar for OmniX
0
125
Member Avatar for snb
Member Avatar for sagedavis

Hey all, some of you know me from some of my earlier questions with my css stuff. I recently interviewed for a position for a company who uses ajax. All their AJAX stuff is already built, so, they aren't going to require me to mess with it much at first, …

0
70
Member Avatar for Demond

How do I send text to a child window? I want to press a button and it sends the text. I am trying to store all of my CD-keys for my games in a program and then send the text to the boxes in the appropriate areas for each game. …

Member Avatar for blacklocist
0
142
Member Avatar for ausgezeichnete

all i want is to make the user able to edit when he clicks on the value and on blur the value get edited like it works here in the forum ,when i try to edit,it edited on the same page !! and i got this code,it works fine if …

Member Avatar for Member #210412
0
87
Member Avatar for AbberLine

Hi, I would like to make a blok of text appear when the user clicks a hyperlink. Therefor I created a test file in html: [CODE=HTML] <html> <head> <title>InnerHTML - Test</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <script type="text/javascript"> function writeEvent(txt){ document.getElementById("infoOut").innerHTML = makeEvent(txt); } function makeEvent(text){ var output return "<table style='border:solid …

Member Avatar for AbberLine
0
240
Member Avatar for manish_gajjar

i want to view image as tooltip of small image on mouseover on that so what is the code for that?using javascript how it can be done?

Member Avatar for kiwisites
1
87
Member Avatar for sassy14udd

I want a form static box on the page that will link and chg to my poetry links on the side of the page, so that the page wont chg just the box and the choice of the users poem they want to read.... I was googling, but dont really …

Member Avatar for kiwisites
0
137
Member Avatar for OmniX

I have a group of input type="submit" buttons inside a fieldset. I am using javascript to alter the appearance of these input type="submit" buttons when I 'onMouseOver' and 'onMouseOut'. When this happens this changes the size of the fieldset border and expands and shrinks depending on the mouse over/out event. …

Member Avatar for MidiMagic
0
123
Member Avatar for ShawnCplus

So, I've got a nifty little recursive function that runs through a select box and all it's children looking for the selected element and removes it, if the parent element is empty then it removes that as well. However, the W3C decided when passing DOM that there are 12, count …

1
67
Member Avatar for jianwu_chen

When you define a variable name same as an IFRAME name, I.E won't be able to get back the iframe. See following example: [code=html] <html> <body> <iframe id='ifLoan' name='ifLoan'> </iframe> </body> </html> <script> var ifLoan=frames['ifLoan']; alert(ifLoan); </script> [/code] In IE, it will display undefined. In firefox, it's fine. So you …

Member Avatar for AbberLine
0
165
Member Avatar for mahbubulislam

how can i write a Java Script similar to igoogle style window drag & drop in diferent sections of a web page?

0
69
Member Avatar for Tom Tolleson

Hello! I am using CSS class to apply design properties to a DIV in my markup. This image is a repeating image. The background-image syntax goes like this: [code]background-image:url(http://www.mysite.com/images/image.jpg);[/code] I am performing a JavaScript image replacement (it has to be done in JavaScript per client specs) and to replace this …

Member Avatar for delta9
0
71
Member Avatar for vanguns

This forum might be exactly what I've been looking for on the web... here's some background about me and computers/programming as well as some of my personal stances on the state of things: I was raised on the cusp of the birth of the net. When I was very young …

Member Avatar for zandiago
0
175
Member Avatar for armend90

hi i dont know how it works in JS but in PHP is var codeofheight = "<?php echo $codeofheight; ?>"; but i need it in JS... the opossite of this code thnx

Member Avatar for ShawnCplus
0
98
Member Avatar for peter_budo

Just getting into XML and other X-stuff so this may sound little silly as I'm thinking more ahead of I'm currently reading and able to do, but here it goes...:twisted: Take simple example of CD collection. Currently with use of XSL i'm able to display my XML document as table …

Member Avatar for peter_budo
0
92
Member Avatar for OmniX

I have a group of input type="submit" buttons inside a fieldset. I am using javascript to alter the appearance of these input type="submit" buttons when I 'onMouseOver' and 'onMouseOut'. When this happens this changes the size of the fieldset border and expands and shrinks depending on the mouse over/out event. …

Member Avatar for OmniX
0
122
Member Avatar for Venom Rush

I have a drop down menu the is populated with event names from a DB. What I'd like to do is have the form submit after click on one of the event names in the drop down list. At the moment I have a submit button for this. I don't …

Member Avatar for Member #210412
0
586
Member Avatar for ali_ggl

Hi all here i want to develop websites content reading code like title of any website or meta and other tags, i want to give URL to this code at run time and it will detect its meta, title or other information and return to me in variables how to …

Member Avatar for Fungus1487
0
111
Member Avatar for Basanagouda

I am able to Validate for 9.1 decimal Validation by regex expression "[0-9]\{0,9\}\.[0-9]?$" but If I call in KeyPress last character entered cannot be in textBoxVariable.text. Qusetion : I want to do e.handle=true; for keypress , if textBoxVariable.text Value not satisfy regex condition. Any solution? Thanks in advance

0
80
Member Avatar for amithasija

hi all, as we all know javascript is doing great these days,and compatible with all langauges is best feature.we can see the effects using javascript libraries are really good like scriptalous,jquery and prototype.if you have some resources u can share it with all community members to make world go around …

Member Avatar for amithasija
0
109
Member Avatar for Dennis_Phils

Hi everyone, I have this code in javascript where the XML file is loaded and displayed to an html using XSLT. It works fine in IE but not in Firefox. My problem is in the looping to the childNodes. It seems that Firefox does not recognize this line of code …

0
76
Member Avatar for mariecon

Hello everyone, I'm a newbie in AJAX. I have found a code in the web that uses AJAX and PHP (withjavascripts). It works well but i want to have a multiselectable dropdown. How can i retrieve the value of the multiselctable dropdown thruogh its javascript??? Here's the code that retrieve …

Member Avatar for mariecon
0
110
Member Avatar for anthmaina

This is a script for showing time but it only shows in IE but not in firefox.Whats the problem? <script language="javascript" type="text/javascript"> file://start display day/date code DaysofWeek = new Array() DaysofWeek[0]="Sunday" DaysofWeek[1]="Monday" DaysofWeek[2]="Tuesday" DaysofWeek[3]="Wednesday" DaysofWeek[4]="Thursday" DaysofWeek[5]="Friday" DaysofWeek[6]="Saturday" Months = new Array() Months[0]="January" Months[1]="February" Months[2]="March" Months[3]="April" Months[4]="May" Months[5]="June" Months[6]="July" Months[7]="August" Months[8]="September" …

Member Avatar for ~s.o.s~
0
175
Member Avatar for CsE2007

hi all , i made chate room and i use right text to enable user to write arbic words but, when sender write arbic text this text reach to reciever as "????????????????????? " , i do not know why this happen ? i think this problem related with unicode, if …

Member Avatar for ~s.o.s~
0
89
Member Avatar for OmniX

I have been trying to restrict the uploading of images based on size and format. At the moment I have the size working but not the format. Ive tried different code but im favouring something like this: [code] if($_FILES['file_image']['type'] == "image/pjpeg") { CORRECT FORMAT else { INCORRECT FORMAT } [/code] …

Member Avatar for OmniX
0
342
Member Avatar for Grantmitch1

Hello Daniweb Community I am creating a website and wish for the pages url to be the same. For example. The site is company.com I wish for the page company.com/help.htm to appear as company.com If you could help I would be very grateful thank you Grantmitch1

Member Avatar for ShawnCplus
0
110
Member Avatar for smilyswapna10

We are using disabling of F5 in onkeydown event of input objects.it is working for normal input objects but not working for the browse (input type='file') fields.is there any chance to do so?

Member Avatar for MidiMagic
0
109
Member Avatar for smilyswapna10

Hi All, I want to change the f5 property to html tag(i.e., <input type='file'>) for I.E.7.0 version and above. but its not working. Here the code is working in only in <input type='text'> but not working to <input type='file'> <html> <head> <script> document.onkeydown = function(){ if(window.event && window.event.keyCode == 116) …

Member Avatar for MidiMagic
0
80
Member Avatar for ineuw

I built a web page form, where the action is set to "mailto" to my email address. I already scripted the client side using Javascript and I wish to know if I can use Javascript for server side scripting as well? I do not know PHP, nor Perl, and prefer …

Member Avatar for ~s.o.s~
0
120
Member Avatar for kahaj

How do I have multiple mouseover events at the same time? Here's what I have so far. [code] <a href="assets/Ads/agapeCreations.pdf" /> <img src="assets/Ads/agapeCreationsNorm.jpg" alt="Agape Creations Photography" onmouseover="this.src='assets/Ads/agapeCreationsMouseOver.jpg' 'self.status='Agape Creations Photography';return true" onmouseout="this.src='assets/Ads/agapeCreationsNorm.jpg';return true" width="725" height="80" border="0" border=0 /></a><br /> [/code] I have the images swapping fine, but the self.status isn't …

Member Avatar for ~s.o.s~
0
243
Member Avatar for Pro2000

Hello everybody, I've written a program which contains AJAX... The program is a messenger... The code was: [CODE]var http = createRequestObject(); function createRequestObject(){ var request_; var browser = navigator.appName; if(browser == "Microsoft Internet Explorer"){ request_ = new ActiveXObject("Microsoft.XMLHTTP"); } else{ request_ = new XMLHttpRequest(); } return request_; } function getInfo(){ …

Member Avatar for digital-ether
0
112

The End.