| View previous topic :: View next topic |
| Your opinion on this tutorial |
| It's just great, exactly what I needed! |
|
51% |
[ 14 ] |
| It's nice, helped me a lot |
|
40% |
[ 11 ] |
| It's ok, but nothing new to me |
|
3% |
[ 1 ] |
| It's ok, but too difficult for me |
|
0% |
[ 0 ] |
| I don't wanna learn, just gimme the snippets! |
|
3% |
[ 1 ] |
| It sucks, why would I need this anyway... |
|
0% |
[ 0 ] |
|
| Total Votes : 27 |
|
| Author |
Message |
Jon
Joined: 28 Apr 2004 Posts: 350
|
Posted: Wed Jun 07, 2006 8:48 pm Post subject: |
|
|
| Quote: | Since I read nearly all posts, I remember sometimes that a certain topic has been solved, so I know what I have to search. But my knowledge only goes back 1,5 years. The post of the time before that are only known to a few (e.g. BoBo, Rajat and of cause Chris). |
I used to read all of topics but there are far too many now especially in the "Ask For Help" section.
I'm quite well acquainted with the scripts available in the "Scripts and Functions" forum though
I have never found the search feature to be very good in PHPBB forums (which is one reason I put together that catalogue). |
|
| Back to top |
|
 |
Anxious_Patient
Joined: 31 May 2009 Posts: 7
|
Posted: Sun May 31, 2009 11:28 pm Post subject: Re: Tutorial - Control/manipulate webpages - AHK and JavaScr |
|
|
| daonlyfreez wrote: | | javascript:function ChangeColor(){document.body.style.background="yellow"};ChangeColor(); | How can I use color codes instead of the color words.
Instead of using yellow I want to use FFFF00.
Is that possible? |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 2416 Location: Louisville KY USA
|
Posted: Mon Jun 01, 2009 7:42 am Post subject: |
|
|
since its obvious you have no clue whatsoever how html works ill offer this one time answer .... yess
but seriously go to w3schools.com and learn html before posting more rediculous questions like this _________________ Basic Webpage Controls with JavaScript / COM - Tutorial by Jethrow
 |
|
| Back to top |
|
 |
Guest
|
Posted: Sun Jun 07, 2009 5:33 am Post subject: |
|
|
| tank wrote: | since its obvious you have no clue whatsoever how html works ill offer this one time answer .... yess
but seriously go to w3schools.com and learn html before posting more rediculous questions like this |
I think I can help you a little more then tank
Just replace the yellow with #FFFF00.
Be sure to leave in the quotation marks.
In the future if you want to know how to do something avoid asking YES or NO questions because you will get YES or NO answers.
It would be better to ask HOW to do something. |
|
| Back to top |
|
 |
mydspro
Joined: 08 Jun 2009 Posts: 1
|
Posted: Mon Jun 08, 2009 9:09 am Post subject: Re: Tutorial - Control/manipulate webpages - AHK and JavaScr |
|
|
| Hi, I wonder for those websites, they pop up a windows with no menubar & address bar, why do you run the javacript for those? And they don't have the "Edit1" address bar for you to play with. Thanks. |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 2416 Location: Louisville KY USA
|
Posted: Mon Jun 08, 2009 12:38 pm Post subject: Re: Tutorial - Control/manipulate webpages - AHK and JavaScr |
|
|
| mydspro wrote: | | Hi, I wonder for those websites, they pop up a windows with no menubar & address bar, why do you run the javacript for those? And they don't have the "Edit1" address bar for you to play with. Thanks. | these windows are part of the windows collection and navigation based javascript inserts will not be possible for these you will need to visit the subject of COM _________________ Basic Webpage Controls with JavaScript / COM - Tutorial by Jethrow
 |
|
| Back to top |
|
 |
Join the 'Address'-Bar ! Guest
|
Posted: Fri Jun 12, 2009 2:36 pm Post subject: |
|
|
| Quote: | | And they don't have the "Edit1" address bar for you to play with. | Why not push the "how to get surprised" - F11 key once such a popup is appearing? |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 2416 Location: Louisville KY USA
|
Posted: Fri Jun 12, 2009 2:39 pm Post subject: |
|
|
| Join the 'Address'-Bar ! wrote: | | Quote: | | And they don't have the "Edit1" address bar for you to play with. | Why not push the "how to get surprised" - F11 key once such a popup is appearing? | because some such pages have that blocked as well _________________ Basic Webpage Controls with JavaScript / COM - Tutorial by Jethrow
 |
|
| Back to top |
|
 |
ansher
Joined: 05 Jun 2009 Posts: 1
|
Posted: Tue Jun 23, 2009 3:41 pm Post subject: |
|
|
Nice informative post.
Can someone help me, how to solve if the form ids are dynamic?
I want to disable few drop-down lists in a form, to avoid wrong entry of data. Of course the easier way to do this is using javascript form validation during submit. But there is no way I can make any changes to the source.
I managed to disable dropdown lists using the below code …
| Code: | | javascript:function disableRp() { document.getElementById("Applications_DynamicApp_Create_ascx912ecb4d_1f11_4edf_af7a_34e5ae240738_wc_341f964e7c5a48ccb1545adbf1fa581a").disabled=true; }; disableRp(); |
But the problem I am facing is ID for dropdown changes dynamically (there is no fixed value). Is there any solution to this? |
|
| Back to top |
|
 |
jethrow
Joined: 24 May 2009 Posts: 794 Location: Iowa, USA
|
Posted: Wed Jun 24, 2009 7:23 am Post subject: |
|
|
Have you tried accessing the element by other methods? For instance:
| Code: | document.getElementsByName(" ")[]
document.getElementsByTagName(" ")[]
document.forms[].elements[] |
*Note - items with a [] require an index, which starts at [0] |
|
| Back to top |
|
 |
|