Greetings!
I was wondering how I could use javascript code on an iPhone application I was developing. this tutorial illustrated how to use windowScriptObjects for Cocoa application. However, I have been unable to locate something similar for UIWebViews.
does this functionality actually exist in Cocoa touch? and if yes, could anyone poi...
Hello,
I am working on a Java-script, for which I need regular expression to check whether the entered text in text-box should be combination of alphabets and numeric value.
I tried NaN function of java-script but string should be of minimum-size & maximum-size of length 4 and start with Alphabet as first element and remaining 3 eleme...
I have a list of images and I want to align all of them side by side.
Since there are a lot of images and they overload the space of the screen width. So, I want to go navegate throught the images using the mouse. When I go to the right of the container of images, I navigate to the right and vice-versa.
How can I do something like this...
Hi
I would like to loop through a jqGrid so that I can get the value of cell for futher logical processing.
var ids = $("#list").getGridParam("reccount")
alert(ids);
var v = 1;
for(var i = 0; i < ids ; i++){
amountvalue = $("#list").getCell(v,"amount");
alert(amountvalue);
v = v + 1;
}
Strangely as obvious as ...
Hello,
I am using EXTJS V 3.0.
I am poping an Ext window that contains an IFRAME in it.
I would like the IFRAME to always fit the window content area.
I would also like to know what is the current IFRAME size so I can resize inner iframe objects as well.
Is it possible?
Thx
...
In Asp.Net 2.0 when i scroll down the aspx age i am getting the script error - window.A_TCALSIDX.length is null or not an object Error,
Can you please help
Regards,
Sharath MP
09900277122
...
hi i am new in javascript i need it for job and my boss give me following task
write javascript program which ask you enter some name and display hello+name
i know it is trivial but i am tottaly new and am now in job please help
thanks
...
I've built an ASP User Control that implements the AJAX Control Toolkit PopupControlExtender.
It pops up a div containing a text box, and an OK/Cancel button. The idea is that the user can click a "rename" icon, which displays the popup with a message saying "Please enter the new name" and a text box with the old name already populated ...
Hello,
I have code(thanks to roosteronacid) which removes web page elements when user click on them. I need to add additional functionality to undo action - revert removed elements. Any idea how to do element.remove undo with jQuery?
Regards,
Tomas
...
I have a site which authenticates a user for a given time period and on any subsequent page request that time interval is extended. I am wondering how to notify users their time is about to expire without using a js.alert() but also remain accessible.
I have seen some sites where content will slide in from the top and not intrude the ...
I have the following files:
view.jsp
<@ page import=...
<bean:define id="mForm" name="myForm" type="MyForm"/>
<html:form action="MyFoo" method="post" styleId="myForm" enctype="multipart/form-data">
<html:hidden property="boo"/>
<input type="button" value="Press me" onclick="javascript:changeBoo()"/>
</html:form>
MyForm.java
class M...
So I have a script like this
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js">
</script>
<script type="text/javascript">
$(document).ready(function(){
$("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank");
...
Hi, ive got a text input whereby somebody can begin to type and then below the list will populate according to what matches your input.
1) At the moment im using this to check for 'contains':
if(listToRedo[i].value.indexOf(text) != -1){
but the problem is that it appears to be case sensitive, how can i change this?
2) Do onkeyevent,...
i have a jsp page. now i want to fill some information here and click the submit button. but i need to check that the textbox are not empty. how to do?
...
Hi there, I've been asked to place a form on our website, simple you might think, but this one has some cool little js in place to make the label for the input sit inside it, clever but for some reason not working as intended on my page.
It doesn't place the label inside the Input field.
It uses the JS to place the label and CSS for th...
Here's my HTML Table format :
<table width="580" height="217" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="334">Product</td>
<td width="246">Price</td>
</tr>
<tr>
<td>Product One</td>
<td class="price">599</td>
</tr>
<tr>
<td>Product Two</td>
<td class="price">175</td>
</tr>
<tr>
...
Hello
I'm handling cookies using JavaScript to store some values in my asp.net web application.
I use document.cookie to save some values (converted into a lengthy string). But i want that value to be accessible across all the pages in my application.
When i try to get that value from a different page, i get the values pertaining to t...
I'd like to select the image source url from html code using javascript regexp. I'm using it to simplify using picasaweb images in other websites. I'm rather new at this, and I constructed a regex using http://www.regular-expressions.info/javascriptexample.html, and there it works like a charm, but not in my own script. Can somebody poin...
Is there anyway around this?
If i pressed 'St', by the time i had pressed the t, if i were to output the input textfield.value in the onkeypress/onkeyup/etc function, i would only get 'S'??
How do i get rid of this lag?
...
Hi all,
I need to call specific js function. The problem is many time runtime situation can come where another js file may contain same name function. But i need to be specific that which function i am suppose to call.
Function overloading is not my solution.
Thanks and regards,
Tanmay
...