問題タブ [javaquery]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
3244 参照

php - HTMLページでSQLテーブルを表示(SQL SERVER MANAGEMENT STUDIO)

データベースに接続する Web サイトを作成しています。SQL Server でデータベースを作成しました。

1 つのテーブルを 1 つの html ページに接続して、そのページでテーブルを表示できるようにします。このようにして、すべての SQL テーブルを各 html ページに接続します。

私はphp/javaqueryを使わなければならないことを知っています!

適切なコードを教えてください!

また、私はSQLが初めてです。私は学んでいます!

私のシステムでそれを有効にするためにあなたが提供したコードで私がしなければならない変更を説明してください.

私はこれらの 2 つのコードを取得しました:どちらが私の要件に適していますか? コード 1:

コード 2:

0 投票する
2 に答える
129 参照

php - linking the Dynamic DDL With SUBMIT BUTTON in HTML

i have created a DYNAMIC DROPDOWNLIST DDL2 which is linked to DDL1 by script tag.i want the options of ddl2 to open some pages when clicked on and submit button is pressed. ddl1 consists of 5 states and ddl2 consists of location of those states connected dynamically. below that i also have one more ddl which ive successfully linked because it is not a dynamically linked dropdown list. can some one please tell me the code for linking the ddl2 i.e goa asf,goa lpg ro etc list to pages? the codes are shown below:

The code given above is my whole pages code. also i have recieved this code for linking it but it does not work. i dont know why. please help me with a code if u know. or tell me the changes that i will have to do in the code given below so that it works.

0 投票する
3 に答える
1905 参照

javascript - jQueryクリック関数、入力値の長さとパターン

2日間苦労している問題があります。電話番号を要求する Web ページがあり、電話番号の「バリデーター」を入力タブに作成しようとしていますが、入力タブの最小長を確認する方法がわかりません。数字のみを受け入れる方法。コードは次のとおりです。

追加してみました:

しかし、それはうまくいきません。どんな助けでも大歓迎です。また、数字のみを許可する方法を教えてください。

ありがとうございました!

@Saumya Rastogi の助けを借りた最終的なコード。$("#start").クリック(関数(){

0 投票する
1 に答える
29 参照

javascript - img ( href link ) とラジオボタン (value または id) から関数を作成し、次のページに移動する方法

私はこのコードを持っています:

そのため、期間(月例など)と記号(例ではおうし座)を取得する機能を実行したいと思います。次のページでは、おうし座のページと月例の場所に移動します。

別の例: 私は Weekly と Aries を選択します -> 次のページで -> 毎週の牡羊座

どうやってするか?