17,114 Topics

Member Avatar for
Member Avatar for veledrom

Hi, I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it? Thanks

Member Avatar for veledrom
0
72
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Member Avatar for essential
0
108
Member Avatar for sirge

Hi guys, I have a two functions in ajax; say for example the functions are...function AB() and function BC in my form I have a this textbox which calls the function AB() through onKeyUp event. I successfully made calling the said function, but what if I'll be calling the two …

Member Avatar for ShawnCplus
0
103
Member Avatar for Xessa

Hi. I am Turkish. When the text is written in Turkish, some characters are double bytes in the database. Is there a shortcut to find these characters? Will checking if the high byte of the character is not 0 will work?

0
63
Member Avatar for jaykom

Hi folks, My example markup as follows [code=html]<fieldset> <input type="text"></input> <input type="text"></input> <select></select> </fieldset> <fieldset> <input type="checkbox"></input> <input type="text"></input> <select></select> </fieldset>[/code] I want to collect all the child elements inside this two fieldset elements through looping, folks please help me out

Member Avatar for essential
0
268
Member Avatar for franko75

Hi, i'm setting up a couple of forms on the admin section of a CMS i'm developing. I want to use (unobtrusive) modal forms using JQuery, but I'm not sure how to return error messages/feedback from the server and display them [B]within[/B] the modal window. So this is where i've …

Member Avatar for Airshow
0
93
Member Avatar for Wolverine68

I am new to AJAX. I'm trying to write code that will extract from an XML file and then display the results. Keep getting a syntax error. HTML: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Extract Data from an XML file</title> <script type="text/javascript" language="javascript"> <!--The object …

Member Avatar for essential
0
166
Member Avatar for Xessa
Member Avatar for Xessa
0
86
Member Avatar for yilmazhuseyin

Hi I am working on a little project I'd like to call post database and I got a little problem. when user clicks a page number, I bring html content from server and add it to page. And I can see the new content on the page. But if new …

Member Avatar for yilmazhuseyin
0
366
Member Avatar for rahuls2930

Hi, I have a main div with a fixed width for which the overflow is set to hidden. Inside that there is a content div which can have variable width depending on the number of its contents. Each content has an image and some text. There may be 100 s …

0
50
Member Avatar for 7gakki

Anybody can help me? Why [url]http://placesnap.com/recent_ie.asp[/url] not working in IE? In firefox, that page working good

Member Avatar for yilmazhuseyin
0
88
Member Avatar for crimsondarkn

Basically, I have a bunch of input rows, each with id in the form of something like.. item:characteristics:age or item:setting:type1:blah. It's kind of like going down folders to get to the item I want. So as you can see in the code, I am splitting each id and trying to …

Member Avatar for Airshow
0
299
Member Avatar for gagan22

Hi all, Actually i want to two link in my page using ajax. Let me explain the problem: Like my site have three page in which about me, contact me and personal info are three page . All these three page are connected with database and fetching some information from …

Member Avatar for yilmazhuseyin
0
128
Member Avatar for Xessa

I have 3 textboxes names myTextBox1 myTextBox2 myTextBox3 onblur i want to check if the value of the checkbox is true. I have a function in my js file. [code] function isNumeric(myString) {.......} [/code] In my JSP file i write; [code] onblur="isNumeric(X)" [/code] I wrote everything and it does not …

Member Avatar for itsjareds
0
100
Member Avatar for zido85

i have this code, im using jquery which im not very familiar and i need help please:D [code] <html> <head> <title>Select and drag?</title> <style type='text/css'> body,html { color:#333; font-family:Calibri; font-size:11px; } .panel {float:left;width:200px;margin:20px;} ul { list-style-type:none; border:1px solid #999; background:#ccc; padding:20px; min-height:150px; width:100px; } li { display:block; border:1px solid #999; …

Member Avatar for Josh Connerty
0
2K
Member Avatar for Gary888

Hello, This is a JavaScript/PHP question so I will go ahead and post it here. I would like to know if it is possible to access (in a PHP class) a value/variable that has been returned by a JavaScript function. The function is in external .js class. Here what I …

Member Avatar for Gary888
0
2K
Member Avatar for blindkilla

Well im trying to get my form to post data to a php file and get back the result. For some reason its not calling mail.php, but instead it just puts all the post data in the current url like [code]somesite.com/index.php?id=value&id=value..etc[/code] instead of [code]somesite.com/[B]mail.php[/B]?id=value&id=value..etc[/code] here is the ajax code [code=javascript] …

Member Avatar for Airshow
0
333
Member Avatar for servis

is it possible to use the xmlHTTP.responseText in any other java function, after execuation of stateChanged() function??? example in ajax... [ICODE] function stateChanged(){ if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete") { var result = xmlHttp.responseText if (result.length=="0"){ var task = "do"; //i want to use "task" in other js function return task; } …

Member Avatar for essential
0
445
Member Avatar for Loyen

Hello fellas, long time no see. :) I am getting into jQuery a bit these days, and I was wondering, how do I make a function, which shall be reusable more than once, which shall be making a popup window come up and position itself under the clicked item aligned …

Member Avatar for Loyen
0
75
Member Avatar for itsjareds

I was helping a friend fix some issues with her iPhone connecting to a JavaScript-heavy (and buggy) site. Long story short, her iPhone cannot type brackets ([]), and I need another way of getting the first element in an array. I thought there might be a javascript function like first() …

Member Avatar for essential
0
161
Member Avatar for fizmo

hiya, I'm very new to how javascript works and have inherited a website that contains a form that uses the calculate total function...which only works in IE. I've searched all over the net trying to find a solution to get this working across all browsers but not having much luck …

Member Avatar for fizmo
0
140
Member Avatar for DelphiLynx

While I have hundreds of draggables, the performance is very dramatical. So I want to hear from you if its possible to write code around it. Have you devs a solution to create a draggable on the mousedown event? The problem I face now, is: that I can create on …

Member Avatar for zido85
0
263
Member Avatar for schwarznavy

Greetings, I'm not a very advanced programmer at all. I found a piece of code that helps me out a lot at [url]http://www.codelifter.com/main/javas...lideshow2.html[/url]. It allows an image to crossfade into another, into another, etc. I'd like to be able to crossfade an image, with a text caption underneath it, to …

Member Avatar for FeralReason
0
1K
Member Avatar for mindgames

Hi all, I'd like to get this Greasemonkey[B](*)[/B] script to work for me (it's been written by someone else, but I haven't been able to get a response from the author): [url]http://userscripts.org/scripts/review/49821[/url] Basically what the script is supposed to is to integrate "yamli" (a Latin to Arabic transliteration engine that …

0
59
Member Avatar for desmati

Insert div into paragraph How can I develop something like the attached image (attachment 1)? [ATTACH]10423[/ATTACH] I’m using asp.net(c#), JavaScript (jQuery). And here is the story: When user is reading an article, I want to insert top rated articles into the article content as an offer for reader. I tried …

Member Avatar for MidiMagic
0
27
Member Avatar for k2k

hi, i am picking up js for form validation. does anybody know how i can add a little check (a tiny image) to the textbox if the content is passed ... and a cross mark maybe if the textbox content failed. it would be great if someone may just shoot …

Member Avatar for oakleymk
0
115
Member Avatar for jmasta

Hello everyone, I have a table with a bunch of rows and columns. You choose an item, and then you can look at the properties of the item in a popup window. You can change some properties and then save, or you can cancel. If you cancel, the window should …

0
96
Member Avatar for davidinpa

My html with this JavaScript line... [code] audioControl = new ActiveXObject("VideoOS.Sdk.UI.AudioControl"); [/code] ... is causing this error, "Automation server can't create object". I believe "VideoOS.Sdk.UI.AudioControl" is in a file I have called VideoOS.SDK.DLL What do I need to do, to get the call to ActiveXObject() to work? Do I need …

Member Avatar for serkan sendur
0
84
Member Avatar for Kligham

Hi, What happens? You type something in a text field, and based on the input, you should get some suggestions. Now, the problem is that I can get the info out of my database with PHP, but now I need to be able to use the PHP array in javascript. …

Member Avatar for Kligham
0
185
Member Avatar for flavabrwn

Does anybody have any solutions for converting Excel Spreadsheet calculators into HTML, most likely with Javascript commands. There are a couple software companies like SpreadsheetConverter and ExcelEverywhere that do this, but does anybody know of any free solutions out there. Here's a CNET link to ExcelEverywhere's description: [url]http://download.cnet.com/ExcelEverywhere-for-HTML/3000-2077_4-10211203.html?tag=mncol[/url]. I'm looking …

0
60
Member Avatar for jyotiu

Hi All, Alright i am developing an application which is using ajax. First of all there is a select box which is getting populated from db for a category ... now user can select one or more values from first select box .... and there are four buttons for different …

Member Avatar for essential
0
170
Member Avatar for oakleymk

Hi All, Without getting into too much history on the why, I came into a situation where I needed to create a function to get various properties of !DOCTYPE so that other functions could adjust to work properly with certain DOCTYPEs (Strict, Transitional, etc.). I have tested the function in …

Member Avatar for oakleymk
0
384
Member Avatar for Merlin33069

so im really getting into the ajax crowd, though i dont strictly use ajax (no xml) i like the functionality of calling server side scripts for dynamic php functions... anyway i have a few images in this form ive made that i would like to be placed correctly let me …

Member Avatar for Merlin33069
0
127
Member Avatar for andy3250

Hi, please visit sample site at [url]http://www.wiproductions.com/projects/scripts/ajaxslider/[/url], i have folder that comes with user images, along with full name from mysql using databse. If i want to use image with full name that retreive from databse, how can i write that in ajax to show slide images! currently they allow …

0
69
Member Avatar for Potato.Head

Hi to all, I having the following problem, I have a page with java scripts and images, I see that after the page load, all the functionality and the images are working Ok. I noticed that the status bar in the browser is still working(like still loading the page), I …

Member Avatar for Jupiter 2
0
84
Member Avatar for Xessa

I want to create a listbox in a jsp page. I want people to be able to choose multiple options... Also i want if one option is selected, people should not select another option. EXAMPLE If b is selected people can select a and c. But if a is selected …

Member Avatar for essential
0
127
Member Avatar for samarudge

Hi, I have this code which is not working [CODE=javascript]<script type="text/javascript" language="javascript"> <!-- function loadpage() { document.getElementById('Loadingindic').style.top = '-500%'; } function checkfields() { if(name()==true){ if(email()==true){ if(message()==true){ return true; } } } return false } function name() { name = document.getElementById('CF_N').value; if ( name.length == 0 ) { alert('Please enter your …

Member Avatar for essential
0
161
Member Avatar for Xessa

Hello . I have a web page and a button on it. From that button i pop-up another page and update the user's information. After updating is done, it focuses to my original page. Not the page that i have been working. Why is this happening? How can i make …

Member Avatar for essential
0
88
Member Avatar for pradeepg459

MY HTML CODE IS GIVEN BELOW: [code=HTML] {foreach from=$heading_array item=hdng key=col_name name=headng_loop} <td width="40px;" id='column{$col_name}' name= {$col_name} sort="" {if $align_view.$col_name.CWDTH neq '0' or $align_view.$col_name.CWDTH neq ''} style="padding-left:3px;word-wrap:break-word;{*$align_view.$col_name.CWDTH*};"{/if} {if $wrapflag neq '' or $wrapflag neq 0}style='vertical-align:top;'{/if}>{if $drag_flg eq 1} <table height=100% cellSpacing=0 cellPadding=0 border=0 style=""> <thead> <tr> <td>{/if}{if $align_view.$col_name.CWDTH eq '0' …

0
77
Member Avatar for rouse

I was looking at the JQuery for absolute beginner instructional video where I was shown how to add and remove an item for an unordered list. The demo assumed that you had one unordered list on a page. I tried to create a demo where there are two unordered list …

Member Avatar for chridam
0
150
Member Avatar for jay.barnes

Hello! I'm having some problems with using data in an PHP form I'm working on that utilizes AJAX. Could be a beginner's mistake, but, then again, it might not be... :) SCENARIO: I have a form with two sets of fields, origin country, city, state, and zip, and destination country, …

Member Avatar for jay.barnes
0
317
Member Avatar for Dio1080

Hello, my task was to make two constructors for the code that I also posted and they are not working. Can somebody help me figure out why they are not working. I posted them right below. here are my constructors for course and Faculty course.js: [code=javascript] function Course (name, times, …

Member Avatar for Dio1080
0
155
Member Avatar for Xessa

I have a textbox. in js code, i try this... if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");} I'm trying to check if it is a number. Else i want to warn him.... How can i do this in a js file?

Member Avatar for essential
0
136
Member Avatar for asemakula

[CODE]<script type="text/javascript"> var ... ;... Book_Image_Sources=new Array(...); function carousel() {...} </script>[/CODE] I want to (i hope it`s possible) call the script above in a css class like [TEX]#carouse { ... somehow call the script above }[/TEX] then in my html code [CODE]<img src="./images/placeholder.gif" class="carouse" />[/CODE] I am using a WYSIWYG …

Member Avatar for asemakula
0
181
Member Avatar for kavitha284633

on postback neither the ajax slider extender not its bound asp textbox retains the selected value. please help

Member Avatar for kavitha284633
0
64
Member Avatar for Sanit

Hey guys, I have a form made up, and there is an option where the user selects "Male/Female". The way its set up is as follows: [code=JavaScript] var lastLink; function setLink(theLink){ if(lastLink) lastLink.className="genderSelect"; theLink.className="selected"; lastLink=theLink; return false; } [/code] [code=HTML] <ul> <li> <a id="genderMale" onClick="return setLink(this)" class="genderSelect" href="#">Male</a> </li> <li> …

Member Avatar for Sanit
0
122
Member Avatar for urvenkatg

Hi I am doing a chating application.I want to know whether a window is opened or not. This is the code i am using to open a window. [code=JavaScript]var title='Chat_'+userId+"_"+selectedUserId; var url="OneToOneChat.aspx?FromUserId="+userId+"&FromUserName="+userName+"&ToUserId="+selectedUserId+"&ToUserName="+selectedUserName; window.open(url,title,'width=410,height=400,toolbar=no,menubar=no,scrollbars=no,status=yes',false);[/code] later i trying whether the window is already opened or not. [code=JavaScript]var win='Chat_'+userId+"_"+selectedUserId; if(win.closed) { } else …

Member Avatar for ankitjain_dce
0
128
Member Avatar for JohnGroot

Each product page of a catalog will have a url with a product parameter e.g. [url]www.MyWeb.com/LitRequest.htm?Product1[/url] or [url]www.MyWeb.com/LitRequest.asp?Product1[/url] I would want that value 'Product1' to show up on the LitRequest Form and then get transmitted when the form is completed and submitted submitted Thank you

Member Avatar for ankitjain_dce
0
65
Member Avatar for ankitjain_dce

Hi, Can we write javascript in iframe? I want to call a external application javascript in my iframe of the jsp i am writing....issue is we can only have one call of this JS per page,now I am importing some html tags from a 3rd party which also does this …

Member Avatar for ankitjain_dce
0
7K
Member Avatar for nikk

Hello Friends, I am developing a menu using javascript wherein, I expand and collapse divs. It works fine individually; but the problem arises when I try to hide all other divs on expanding one div. Following is the code. Pls. suggest any change if you spot any error or even …

Member Avatar for essential
0
217

The End.