Click here to Skip to main content
15,889,176 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: How to get MS word document page settings and number of pages using JavaScript? Pin
Gokul Raja198717-Sep-09 8:25
Gokul Raja198717-Sep-09 8:25 
QuestionHow to kill the process of website in c# Pin
Rajesh_K_Sharma24-Aug-09 0:28
Rajesh_K_Sharma24-Aug-09 0:28 
AnswerRe: How to kill the process of website in c# Pin
SeMartens24-Aug-09 20:40
SeMartens24-Aug-09 20:40 
Questionhow can i send a byte array from client side to server side Pin
subramanian.rtechconet23-Aug-09 23:00
subramanian.rtechconet23-Aug-09 23:00 
QuestionDisable Print Screen Option Pin
Aman Bhullar21-Aug-09 20:13
Aman Bhullar21-Aug-09 20:13 
QuestionDrawing a box around an arbitrary HTML block Pin
astibich221-Aug-09 15:00
astibich221-Aug-09 15:00 
QuestionElegant use of the CSS padding property Pin
jesarg21-Aug-09 8:03
jesarg21-Aug-09 8:03 
AnswerRe: Elegant use of the CSS padding property Pin
jesarg21-Aug-09 8:10
jesarg21-Aug-09 8:10 
Question"best" Blog for text publishing ? Pin
Maximilien21-Aug-09 5:21
Maximilien21-Aug-09 5:21 
AnswerRe: "best" Blog for text publishing ? Pin
msn9221-Aug-09 8:18
msn9221-Aug-09 8:18 
AnswerRe: "best" Blog for text publishing ? Pin
Jeremy Likness27-Aug-09 6:28
professionalJeremy Likness27-Aug-09 6:28 
QuestionDisable the image from being saved on client machine Pin
Coding C#21-Aug-09 4:20
Coding C#21-Aug-09 4:20 
AnswerRe: Disable the image from being saved on client machine Pin
msn9221-Aug-09 8:25
msn9221-Aug-09 8:25 
GeneralRe: Disable the image from being saved on client machine Pin
Coding C#23-Aug-09 19:38
Coding C#23-Aug-09 19:38 
GeneralRe: Disable the image from being saved on client machine Pin
Joe Simes1-Sep-09 8:28
Joe Simes1-Sep-09 8:28 
Questionadding web service from ftp Pin
Maverickcool21-Aug-09 3:22
Maverickcool21-Aug-09 3:22 
QuestionHelp in creating Web Bot Pin
kc_krishnan20-Aug-09 22:55
kc_krishnan20-Aug-09 22:55 
AnswerRe: Help in creating Web Bot Pin
Ashfield21-Aug-09 1:35
Ashfield21-Aug-09 1:35 
Questioninversing an inner join without using left join Pin
mark_me20-Aug-09 14:22
mark_me20-Aug-09 14:22 
AnswerRe: inversing an inner join without using left join Pin
Ashfield20-Aug-09 21:31
Ashfield20-Aug-09 21:31 
GeneralRe: inversing an inner join without using left join Pin
mark_me21-Aug-09 6:10
mark_me21-Aug-09 6:10 
QuestionDisplaying a "wait" page while a CGI script executes? Pin
Sylv3320-Aug-09 6:54
Sylv3320-Aug-09 6:54 
QuestionJavascript - change dropdown.selectedIndex to selectedIndex from other dropdown Pin
CareyGrant20-Aug-09 6:22
CareyGrant20-Aug-09 6:22 
AnswerRe: Javascript - change dropdown.selectedIndex to selectedIndex from other dropdown Pin
CareyGrant20-Aug-09 6:26
CareyGrant20-Aug-09 6:26 
<br />
<br />
	// GENERATE DROP DOWN BOXES<br />
	function _generateDropDown(oname,bname,btype,bfield,bvalue,allOptions,numOptions){<br />
		this.o_name=oname;this.m_name=bname;this.m_type=btype;<br />
		this.m_field=bfield;this.m_value=bvalue;<br />
		this.m_allOptions=allOptions;this.m_numOptions=numOptions;<br />
		var x = "";<br />
		var myString = new String(allOptions);<br />
		var myOptions= new Array(numOptions);<br />
		var z=myString.length;<br />
		var y=0;<br />
		var currCharIndex=0;<br />
		myOptions[0]='';<br />
<br />
		try{<br />
			// PUT ALL OPTIONS FOR THIS DROP DOWN INTO AN ARRAY<br />
			for(i=currCharIndex; i<z; i++){<br />
				if (myString.charAt(i) != ";"){<br />
					myOptions[y]=myOptions[y] + myString.charAt(i);<br />
					this.m_value=myOptions[y];<br />
				}<br />
				else if (myString.charAt(i) == ";"){<br />
					y++;<br />
					currCharIndex=i;<br />
					myOptions[y]='';<br />
				}<br />
			}<br />
<br />
			//WHEN A DATE IS SELECTED<br />
			if (parent.dateIndex != -1){<br />
				complete_rs.movefirst;			<br />
				var x = new String(complete_rs(bfield));<br />
				if (x == "null" || x == "undefined" || x == "Select One"){<br />
					x = "";<br />
				}<br />
			}<br />
			//WHEN NO DATE IS SELECTED<br />
			else if (parent.dateIndex == -1){<br />
				x = "";<br />
			}<br />
<br />
			if (this.m_name != "selectDate"){<br />
				document.writeln("<select name=",this.m_name," onChange=",this.o_name,".updateDB(value)><br />");<br />
				document.writeln("<option value=\"Select One\">Select One</option>");<br />
				for(i=0; i<this.m_numOptions; i++){<br />
					if (myOptions[i]==x){<br />
						this.m_selected="selected";<br />
					}<br />
					else{<br />
						this.m_selected="";<br />
					}<br />
					document.writeln("<option value=\"",myOptions[i], "\" ", this.m_selected,">",myOptions[i],"</option>");<br />
				}<br />
			}<br />
			document.writeln("</select>");<br />
		}//END TRY<br />
		catch(E){<br />
			//alert("generateDropDown()" + E);<br />
		}//END CATCH<br />
	}<br />
<br />
<br />
<br />

Questionasp/html/javascript Pin
rajiv_kadam19-Aug-09 23:43
rajiv_kadam19-Aug-09 23:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.