what is HTML and what is it used for?
what is Javascript and how would it be used in a web page??
what you need to design a web-page eg colour - audience-pusrpose and pictures.
HELP PLZZZZZZZZ THANX
How do I randomly take values of an array- print them but I do not want the same value to show up twice.
So for example- from 100 questions- I wanted 20 to be printed by each one will be unique.
Consider a simple c++ program..to input an integer and output the same.
I need to accept input through a web interface.
I am thinking to use this javascript to accept the input-
http://www.w3schools.com/asp/showasp.asp?filename=demo_reqquery
but i don t know how can I pass this input to my c++ program...and how to return the output back to the webpage.
thanks.
Before I start into a huge project that ll take me weeks- I was wondering if there was a way to make this effect an easier way- or if there was a javascript- css- etc... client or program that could do this for me?
I have my own wedding planning business- and would love for website visitors to be able to click a button to bring up a popup/seperate window- and in that window have it look like a book. I plan on putting a picture and story of couples I have worked with- and have it so visitors can turn the pages to view more.
If not- I guess I have to start the coding process now.
I d appreciate any help with this! Thanks!
I m rather skilled at just about any coding languages- and I am considering doing this in flash as well. I was just curious if there was something I could use to quickly put it together rather than spending a huge amount of time doing it from scratch.
I have some code.
The code uses JQuery to GET the value (Which I know is cross browser compatible. THe first part where it s getting the value....
However I have the code isNaN in there to test if it s a number. THis code works GREAT in IE7 and Firefox but in IE6 it just ignores the whole if NaN statement. Is there an alternative way to test if something is a number or not and return an error and STILL be compatible with ATLEAST Internet Explorer 6- Internet Explorer 7- and Firefox?
[code]
var seats = $( #seats ).attr( value );
if (isNaN(seats)) {
alert("Seats must be entered as a number");
return false;
}
[/code]
As a web developer "Updating to IE7" isn t going to help anything. I have IE7. But a developer NEVER has the privilege of developing JUST for himself. He has a client/customer base that are going to end up using the site. This Application for example is for a Companies internal usage and it just happens that a lot of there employees are using IE6 and they are in an enviroment where that will not change. Ther eis an alternative way to do this check using Javascript so it s cross browser compatible..But I am unsure which way would work on IE6 as well as the other s. Any advice?
Using JavaScript I want to update a text field. This should include also line breaks.
the getElementById( myTextArea )
innerHTML = aa\nbb
works in Internet Explorer
.textContent = aa\nbb
works in FireFox.
They both set the value of a textarea with id myTextArea to
aa
bb
But none of the codes work in Safari. In safari it s not making line breaks. What do I need to do to have proper line breaks in a textarea in Safari?
The <br/> isn t an option. I need a string with \n. The alert returns the string with new lines- but when I insert the string as innerText or textContent- Safari ignores the line breaks. I ve also tried to alert the string with making breaks manually (alert(textarea.innerHTML)) and it s not showing br. Thanks for the answer!
Does Safari perhaps have some other character for \n?
No comments:
Post a Comment