Javascript Coding Utils
Jul 23, 2005
Can anyone recommend a good editor for coding Javascript?? ie. once which
has 'intellisense' type prompting etc.
If there isn't an editor with this built-in, is there a program which does
it as a quick-ref help tool??
View 1 Replies
ADVERTISEMENT
Oct 7, 2009
On my blog, www.finkfinance.com, it loads but with the filing Javascript error code...
Does anyone know how I can fix this? I'm not a web coder and I'm lost when I open up the stepcaraousel.js file.
View 4 Replies
View Related
Dec 27, 2009
I have a nice search engine but its seems i can't put it twice on the same page:
<script language="JavaScript">
function startSearch(){
searchString = document.searchForm.searchText.value;
if(searchString != ""){
searchEngine = document.searchForm.whichEngine.selectedIndex + 1;
finalSearchString = "";
if(searchEngine == 1){
finalSearchString = "[URL]" + searchString;
} .....
How to put the code twice in the html page without creating a conflict as a result of identical codes?
View 4 Replies
View Related
Jul 13, 2011
I'm currently modifying a php controlled website and wish to distinguish between javascript and non-javascript browsers in order to decide which pages to display. I have a single php controller script which "includes" a number of html pages. I want to ensure that I cater for both javascript and non-javascript browsers (so functionality is the same, only the javascript pages have a far better look and feel to them).
Therefore I would like to code something along the lines of :
Code:
if (javascript_browser=='true')
{
include './javascript_page1.html.php';
exit();
[Code].....
View 1 Replies
View Related
Jul 20, 2005
Firstly it generates two numbers. One is the sum of the CharCodes and
the other is the product of multiply each of the charcodes together
and usisng the Modulus function.
If the text string is correct, the string is then used to decode (via
a relatively simple crypt) another string, which then gives you the
correct target url.
I hope that makes sense - if it doesn't, its pretty unimportant as the
question I have is as follows :
In javascript, how do I code something that allows me to cycle through
all the possible text strings. Ideally, I would like to read from a
dictionary file and then start a brute force.
Throughout each cycle, I imagine you just set input_user (in this
case) to the value of the next line in the file. For a dictionary
attack I imagine. That bit isn't too tricky I don't think but I can't
get my head around it. Maybe more coffee would help?
And I'm sure struggling to put together a brute forcer so I turn to
you guys and gals to ask if you could help me and point me in the
right direction on how to code this.
I'm assuming also that the code we end up with, would be generically
useful too as in we could vary the output (going to input_user) in
this instance to another variable and use it with another script?
View 10 Replies
View Related
Jul 1, 2009
This is a FAQ page I built with custom jquery function that toggles the answers open/closed on click of a question, and Im just wondering if anyone has a suggestion to make the code leaner and meaner:
[Code]...
View 1 Replies
View Related
Mar 13, 2006
I need advice about creating an order form (I was sent here from the General Web Building forum!) and I have been told that JavaScript is the way to go - can anybody help with the following (I know nothing about Javascript really).
I have an order form and plan to have the data emailed to me (I have FormMail script installed on my server). The form will have the following fields:
Reference Number
Size / Cost
Quantity
Grand Total
Clients will enter the ref no., choose a size/ cost (radio-button), and quantity (text box). I plan to accept details for about different items. I just want the total cost to be displayed in a box at the bottom before the form data is sent to me.
Can anybody point me in the right direction of how I might go about this? Tutorials / sample code etc.
View 8 Replies
View Related
Feb 6, 2011
I've created a website for a client for their business, and the javascript is working in Safari & Mozilla, but not in IE. In IE you can click the image, but nothing activates. The ability to move from left to right to view images still works however. I'm wondering if having both of the javascript capabilities is fighting with the IE browser?I would love to hear of a solution - I'm not an expert in Javascript by any means.
View 3 Replies
View Related
Jun 9, 2009
Just wondering if someone can point me where I can get the coding for the same style navigation on [URL]..I know its not flash, but I'm guessing its done by javascript?
View 1 Replies
View Related
Feb 28, 2011
What is the secrets or tricks of coding an enlarge thumbnail code? This is what I came out with so far...
<script language="JavaScript">
function enlarge(target)
{
[code]...
I would like to do the enlarging effect like this,[URL]
View 2 Replies
View Related
Sep 22, 2011
Coding of java script coding for watch implementation in our website.....
View 1 Replies
View Related
May 22, 2006
When I change some JS code I often want to find all the files it might affect. To do this it is easy to search the directory containing my files with Windows Explorer.
But it appears to find only words that would appear on the webpage, and even HTML coding. But it doesn't find JS coding IF the file name ends in .html.
If I change the suffix to .js or .txt it finds the JS coding, but it's not practical to change the sufix of so many files for such a search.
View 6 Replies
View Related
Jan 7, 2010
I have to debug the error for eleave system for a company. when i do the testing i define that having an extra day for the service length at the system. i don't want you to settle the problem for me, just tell me where can i find the source to know where is the problem? at least i know where the souce it, so i can repair it.
View 1 Replies
View Related
Jun 2, 2011
How to extract javascript coding from a html file?
View 1 Replies
View Related
Apr 1, 2010
In my JS file, I made sure to write the necessary html code for a menu using document.write statements (I call the JS file inside a div in my webpages).I know about escape sequences and I put backslashes before every special characters but my menu still does not appear. Maybe only a simple character is missing. The code do work when I write it directly in my html so there should be no errors in the code itself. Must be in the way I put it in my JS file.
View 1 Replies
View Related
Dec 9, 2011
I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no.
The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)) Now using the getButtons() function, if the user selects button "1" in first grid (the grid which you have to open using (Open Grid) link, then it should display button "A" in second grid, if user selects button "2" in first grid, then it should displays buttons "A" and "B" in second grid, if "3" then display "A", "B" and "C" and so on.
Now except using if statements and stating which buttons should be displayed and not displayed depending on the button chosen in first grid, is there a more efficent way of coding this so that the display of buttons in second grid depends on what is selected in the first grid?
If it is using an array can somebody show a sample of this in their answer. You can just do it for one example and then I should be able to use that to fill it for the other buttons.
View 1 Replies
View Related
Nov 11, 2010
I have completed the necessary function and it does not need any changes however from the "alert" I need there has to be double quotes surrounding the search 'Lboro'. (I know I may be making a meal of the coding however the lecturer wants us to follow this due to everyone being at different levels of programming). I have used the '' character however the double quotes do not end up in the position I require them?!
My Coding
function findAnyU (s){
var a = s , b , c , d , e = -1;
for (var i = 0 ; i < pages.length && e == -1 ; i++){
b = pages[i].indexOf('[');
c = pages[i].indexOf(']');
d = pages[i].substring(b+1, c).toLowerCase();
e = d.indexOf(s.toLowerCase());
}
if(e >= 1)
a += ' found'
else
a += ' not found'
return (a)
}
alert (findAnyU('Lboro' , pages));
Current Alert =
Lboro found
View 8 Replies
View Related
May 20, 2011
I need help setting up a form, I want to do some pretty neat things: It will say: What countries do you want to visit? [FIELD] Part 1: I want that when a user starts typing into the field, it will suggest under things that match what you have typed so far, sort of like facebook search does. So I would need a list of recognized country names. Now for example imagine I was using this, and I typed in M, it would list under a max of 5 valid entries begining with M, if I typed in Me, it would list the ones begining with Me, if I typed in Mex, it would show Mexico. Now the user would have to click this drop down suggestion to choose it.Part2: I want once a user clicks on a suggestion, it will "pop under" the input box or somewhere, with a "x" beside it to remove it. The user can now type in another country, and when it is clicked it too appears as a sort of "icon" under the input box or somewhere, with an "x" beside it. Clicking the x removes the country from the current list of countries. Once he is done, he goes on to other fields and the selected countries remain visible. Once a user submits the form, I want to get only the countries that were visible to him.
**An alternative idea, if this one is too complicated, would be to have a drop list with all countries in it, and once a person clicks one, it will remain and a "+" sign will appear under it. When pressed, another dropdown menu will appear so the person can choose another country from the second drop down, etc. OFC all selected countries can have an X to remove them. Idk how to do this either. how to do something like this, where do you recommend I start? Any ideas? I tried searching but I'm not sure what to call this so I couldn't find anything in the search.
View 1 Replies
View Related
Dec 12, 2005
I have an html link that links to a windows directory. It works very well and the code is as shown below:
<li id="toplevel"><a href="file://directoryA/engr/directoryB/RadiatorApplications">Cooling Charts</a></li>
This link is part of a web link tool that is used in our (very large) department to help staff find files quickly around the corporate intranet. The only think is, Windows Explorer ALWAYS opens in the "Tiles" view. Is there a way I can manipulate Windows (in code) to open in "List" view? Many users may not know how to reset their windows view, and I want to make this tool work as intuitively as possible.
View 2 Replies
View Related
Jan 6, 2010
i am using netbean to develop a registration form.As this i want to know what is the coding to check input of text, integer, email , so i can restrict what they input..
View 3 Replies
View Related
Dec 8, 2011
I am trying to create a form/calculator. My concept includes drop down menus, check boxes, roll over images, and calculations. I've been trying to do the coding in Microsoft Excel; however, this has been very cumbersome, and the look is very generic.
View 4 Replies
View Related
Nov 8, 2011
Does anyone know of an alternative coding for this function that will do the trick in browsers such as firefox?
with (document)
{
write("<STYLE TYPE='text/css'>");[code]....
View 2 Replies
View Related
Jun 27, 2009
So basically by using jQuery you are able to completely separate your HTML from your js which is great.
I work with templates most of the times which are maintained by designers who don't code so the code/design separation works marvells for me.
One thing that is not working in my workflow is that in jQuery, since you address HTML using CSS, the designer might feel that all of a sudden those nice divs don't need to have borders any more. So they go out and change the template, removing some classes that you have used to reference the HTML in your js code. Result: your code doesn't work anymore.
I'd like to know how people are dealing with this kind of thing. How do they make sure the designers don't mess with their classes/ids, etc while maintaining the designers' freedom to do their job.
View 1 Replies
View Related
Feb 24, 2010
I am relatively new to Java and am going to be taking a class on it next fall. For now though, I am trying to code for a client I am currently working with and am hopelessly lost. The client I am working with has an ecommerce site with Network Solutions which uses aspx. It allows you to code html and link to css, java (pretty much anything except php). The problem I am having is that they currently have their product descriptions coded in div tags:
<div id='alternatebg'>
<div id='detailsgreybox'><div id='alternatename'><p>Alternate Name</p></div></div>
<div id='pd2'><p>Not Available</p></div>
</div>
<div id='usebg'>
<div id='detailsgreybox'><div id='use'><p>Use</p></div></div>
[Code]....
What they want to happen is for the sections that have 'Not Available' as the answer to not show up on the live page. I have tried to use <ns:if condition="..."> but do not know how to call for it to see if the div says 'Not Available'.
View 16 Replies
View Related
Jul 26, 2011
I wrote a program which showing the difference of two auto generated values. its working perfectly but when i tried to set if() operator to make sound if the difference higher then 7 its not working.
I think something wrong in my code.
Orginal working code here...
But when i put if() operator under processdata() function the whole things hanged and no sound are palying.
I applied it like this way.
I dont know why its not working....i want to play and stop sound name sample.wav from my harddrive if difference range higher or lower than 7.....
View 1 Replies
View Related
May 2, 2010
A small script which can be hosted on a server which you can put an url into and will show website with changes
Example, website/gallery with thumbnail images and want to change the "thumb" file to "original" file
Eg. Gallery view .../images/1a/thumbnail.jpg but want it to be able to view .../images/1a/original.jpg
I'm sure this is possible as i can't imaging it would be a very hard code but am not used to coding only basic html at the moment.
View 2 Replies
View Related