Hi,
I just created a new widget by following a tutorial. I created a zip containing all files and renamed it to HelloWorld.wgt instead of HelloWorld.zip. I sent it to my samsung star/corby via data cable, but when I try to open the wgt file on my phone it says it can't open it, because it doesn't know the filetype. Is there a way to ins...
How can I implement traits in javascript ?
...
Hi,
I want to make a fixed column and fixed header on a table with the rest as scrolling text by using CSS.
But not using jQuery, just simple CSS and JavaScript
just like xls
Thanks
...
I am using following code to open a file dialog box, but nothing happens on button click(). What's wrong?
<input id="btnBrowse" name="btnBrowse" type="button" value="Browse" onclick="document.execCommand('SaveAs');"/>
Edited:
Any other way to open such a dialog on other browsers as well?
...
hi friends ,
i'm using an gridview inside the update panel.now in that grid i have 3 columns when the values are entered in col 1 and 2 the values must be calculated and the result will display in col 3.
now what i want is when the value in col 2 is entered i want an alert msg of showing that u r exceeding the value limit,say if only upt...
Very simple Ajax request taking employee id and returning the user info as HTML dumb.
Request ajax("employee/info?emp_id=3543")
Response id = 3543name = some name
This is just another simple JS trick to populate the UI. However i do not understand how something like below is equally able to execute correctly and dump the HTML code. ...
http://jsbin.com/idala
How is it implemented?
...
Hello everyone,
I am new to Javascript and try to find a solution to my issue but failed. My problem is, I have an input text box and a search submit button, and when user clicks the Search submit button, I want to redirect user to url http://testsearch/results.aspx?k=<value of text box k>, for example, if user put "StackOverflow" in...
Hi, i've been trying to get a confirm box to work, i am using php and jquery to make a confirm box appear when clicking on a delete link, actual code :
$(document).ready(function(){
if (jQuery("a.delete-link").length > 0) {
$("a.delete-link").bind("click", function(){
return confirm("Sunteti sigur ca doriti sa st...
I've started the following skeleton for an ajax/post/update function I'm wanting to write in javascript (using jquery):
$.post("/gallery/resize",
function (data) {
alert(data);
alert(data.complete);
if (data.complete) {
alert("done");
} else {
alert("blah");
}
},
"json"
);
And the response script ...
Hi all,
I have one form which is submitting by ajax.
I am running on php.
After the entry completed by ajax, that entry should be updated to my html.
For example
My HTML Code
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
Now when any one insert new entry with 5, then my html should be updated with below HT...
Hi all,
I'm using javascript and have this enumeration:
filterType = { Campaign : 'Campaign', Class : 'Class', Date : 'Date',
DateGeq : 'DateGeq', DateLeq : 'DateLeq',
DateRange : 'DateRange', Status : 'Status' }
I'd like to name it as:
Filter.filterType = { Campaign : 'Campaign', Class : 'Class', Dat...
I'm trying to make a page XHTML 1.0 Transitional compliant. One of the issues the Validator has with my code lies within the following line:
if (isNumeric(code) && code.length == 4) {
Error:
character "&" is the first character of a delimiter but occurred as data
Here's another problematic line:
aData = data.split("&&")...
Hi,
I am not sure but there are many unbelievable things getting done each day.
So my question is that can we rotate a generated page with 90 degrees like how we do this in pdf using either php or JavaScript?
...
I have this jquery script :
$.fn.myFoo = function(){
alert(this.selector)
alert($(this).selector);
}
then i call it like so.
$('#myID').myFoo();
I need but it returns empty: i need it to return "myID" i can't seem to find a way to do this can some one help please?
...
Hi,
<table>
<tr><td id="myId">
<input type="text">
</td></tr></table>
and in JavaScript
document.getElementById('myId');
This is not working in JSF application. However, the same is working if I save the generated HTML in my system and open it .
Any Help ?
...
var ss= "<pre>aaaa\nbbb\nccc</pre>ddd";
var arr= ss.match( /<pre.*?<\/pre>/gm );
alert(arr); // null
I'd want the PRE block be picked up, even though it spans over newline characters. I thought the 'm' flag does it. Does not.
Found the answer here before posting. SInce I thought I knew JavaScript (read three books, worked hours) a...
I am using Highslide popup. I want to close the popup on button Click. The button is inside the page. For opening hs.htmlExpand(this, { src: 'add_image.php', objectType: 'iframe' } ) used this function it is opening.
When Closing used this But it is not working.
Thanks in advance.
...
want to implement poor man's ssl only to encrypt certain fields of only one form using RSA. Is JS better or should I go for Applet ?
...
Hi,
As you know, a single String can define many key/value properties. For instance, a query String can be defined as
someKey=someValue&anotherKey=anotherValue
Now i need to define a pattern in which a single String can define many key/value properties to be stored in a class attribute. But each value can be a String, an Array, A ref...